Resolving issue with ukbtools
0
0
Entering edit mode
4.8 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

ukbtools R • 843 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 1902 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6