ropensci / coder

Classification of Cases into Deterministic Categories
https://docs.ropensci.org/coder/
22 stars 4 forks source link

Synthetic data #126

Closed eribul closed 3 years ago

eribul commented 4 years ago
eribul commented 4 years ago

Kolla: https://academic.oup.com/jamiaopen/article/2/1/10/5273643

eribul commented 4 years ago

Tycks svårt tt få tag på den datan. kan använda exempeldata från icd.data ist:

icd.data::uranium_pathology %>% 
  mutate(case = as.character(case)) %>% 
  coder::classify("charlson", id = "case", code = "icd10") %>% 
  coder::index() %>% 
  hist()
eribul commented 3 years ago

Review: Thank you for really good suggestions. Unfortunately, I was not able to include the SynPUF data but I did find a previsously exported data set icd.data::uranium_pathology which I have now modified as part of the internal example data sets ex_icd10 and ex_people. I think those data sets should be more realistic. The old vignette was removed as suggested by another review-comment. It is now completelly rewritten and includes some histograms etc as suggested (although with medical ATC-data classified by Risk Rx V).