ns-rse / sheffield-thyroid

http://blog.nshephard.dev/sheffield-thyroid/
GNU General Public License v3.0
0 stars 0 forks source link

Exclude individuals with missing `final_pathology` #17

Closed ns-rse closed 2 months ago

ns-rse commented 4 months ago

index.qmd has code chunk remove-missing-final-pathology which reads...

df <- df |>
  dplyr::filter(!is.na(final_pathology))

However subsequent graphs which use df include the NA category when they shouldn't.

ns-rse commented 2 months ago

This has been incorporated into the workflow and those with missing final_pathology are removed from the data set.

There are however issues with missing data, see #25 for further details.