The goal of ukbwranglr is to facilitate analysing UK Biobank data, including:
You can install the development version of ukbwranglr with:
# install.packages("devtools")
devtools::install_github("rmgpanw/ukbwranglr")
The basic workflow is as follows:
make_data_dict()
.read_ukb()
.summarise_numerical_variables()
.tidy_clinical_events()
or
make_clinical_events_db()
, and extract outcomes of interest with
extract_phenotypes()
.Please see vignette('ukbwranglr')
for further details.
[^1]: For example, calculating a mean/minimum/maximum body mass index (BMI) from repeated BMI measurements.
[^2]: For example, identifying participants with a diagnosis of hypertension from linked primary and secondary health care records.