This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Resolving issue with ukbtools

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

ukbtools r

0 answers

No answers yet.

Log in to answer this question.