Closed WetRobot closed 3 years ago
Caused by duplicate icd_version and icd_code combinations in nordcancore::nordcan_metadata_icd_by_version_to_entity()
. The same code points to multiple entity numbers. Perhaps the table is not used correctly or some additional information is missing.
e.g.
conversion_dt <- nordcancore::nordcan_metadata_icd_by_version_to_entity()
conversion_dt[icd_code == "1400"]
This is probably an error in the looktup-table I have provided you with, so should probably be corrected there...? If yes, I will take a look at it.
I was looking at this for a short while now but could not find anything yet
Can't create the processed_cancer_death_count_dataset in
using Swedish unprocessed_death_count_dataset. But subsetting to
icd_version == 10
works, so this is likely a bug in the code.