knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) # copy and paste this next to '# ukbwranglr' below to include hex badge # <img src="man/figures/test.png" align="right" width="100" />
The goal of ukbwranglr is to facilitate analysing UK Biobank data, including:
[^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.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.