You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The level 3 "A00.-" "Cholera" is missing for all years in icd_meta_codes, it should be in the first row of the ds.
For the 2008 "A56.1" ICD Code the level is set to 0 instead of 4 . here is the code to fix it but maybe you may check where the mistake comes from. icd_meta_codes$level[icd_meta_codes$year==2008 & icd_meta_codes$icd_sub = "A561"] <- 4
For the Variables "label_icd3","label_icd4","label_icd5" the info is only availible beginning with 2013.
I needed this info for my project so i fixed it. here is my solution, a bit messy but it works, maybe you wnat to edit it, even if it was not introduced before 2013, but it helps with the grouping.
table(is.na(icd_meta_codes$label_icd5),icd_meta_codes$year)
table(is.na(icd_meta_codes$label_icd4),icd_meta_codes$year)
table(is.na(icd_meta_codes$label_icd3),icd_meta_codes$year)
The missing A00 is fixed in the latest CRAN version (1.2.4). Are you using the previous version (1.2.3, without data for the year 2022)?
The incorrect level in A56.1 is strange. I believe this is taken directly from the DIMDI metadata. I'll take a closer look and will consider inserting a correction, but this will have to be documented somewhere.
I've noted the labelling code, as this might help other people. I wouldn't be keen on augmenting the data as provided, but such a function/script to apply these labels is helpful.
Hi
i found some issues in the icd_meta_codes ds
The level 3 "A00.-" "Cholera" is missing for all years in icd_meta_codes, it should be in the first row of the ds.
For the 2008 "A56.1" ICD Code the level is set to 0 instead of 4 . here is the code to fix it but maybe you may check where the mistake comes from.
icd_meta_codes$level[icd_meta_codes$year==2008 & icd_meta_codes$icd_sub = "A561"] <- 4
For the Variables "label_icd3","label_icd4","label_icd5" the info is only availible beginning with 2013.
I needed this info for my project so i fixed it. here is my solution, a bit messy but it works, maybe you wnat to edit it, even if it was not introduced before 2013, but it helps with the grouping.
table(is.na(icd_meta_codes$label_icd5),icd_meta_codes$year)
table(is.na(icd_meta_codes$label_icd4),icd_meta_codes$year)
table(is.na(icd_meta_codes$label_icd3),icd_meta_codes$year)
The text was updated successfully, but these errors were encountered: