powered by
Retrieves diagnoses for an individual.
ukb_icd_diagnosis(data, id, icd.version = NULL)
A UKB dataset (or subset) created with ukb_df.
ukb_df
An individual's id, i.e., their unique eid reference number.
The ICD version (or revision) number, 9 or 10.
ukb_df, ukb_icd_code_meaning, ukb_icd_keyword, ukb_icd_prevalence
ukb_icd_code_meaning
ukb_icd_keyword
ukb_icd_prevalence
# NOT RUN { ukb_icd_diagnosis(my_ukb_data, id = "123456", icd.version = 10) # } # NOT RUN { # }
Run the code above in your browser using DataLab