Entering edit mode
5.5 years ago
anamaria
▴
220
Hi,
I was following instructions from https://cran.r-project.org/web/packages/ukbtools/vignettes/explore-ukb-data.html
for the step for Retrieving ICD diagnoses
> head(my_ukb_data$eid)
[1] 1000017 1000025 1000038 1000042 1000056 1000061
where I believe eid is column for id?
I don’t have any other column in my_ukb_data with name ID in it
> ukb_icd_diagnosis(my_ukb_data, id = "1000017", icd.version = 10)
Error: Column 1 must be named.
Use .name_repair to specify repair.
Call `rlang::last_error()` to see a backtrace
Do you know why this is happening?
Thanks Ana
I don't believe many people are using this package, so, please contact the developer directly. E-mail is available here: https://journals.plos.org/plosone/article/comments?id=10.1371/journal.pone.0214311