get_ukb_all_lkps_maps: Get UK Biobank resource 592 directly from UKB website

View source: R/lookups_and_mappings.R

get_ukb_all_lkps_mapsR Documentation

Get UK Biobank resource 592 directly from UKB website

Description

Downloads the UK Biobank code mappings file (all_lkps_maps_v3.xlsx, resource 592) directly from the UKB website.

Usage

get_ukb_all_lkps_maps(dir_path = tempdir())

Arguments

dir_path

Directory path to download to.

Details

Note: This is a large object (>450 MB)

Value

File path to downloaded all_lkps_maps_v3.xlsx.

Examples

## Not run: 
# download UKB resource 592, returning file path invisibly
file_path <- get_ukb_all_lkps_maps()

# view path to downloaded file
file_path

## End(Not run)

rmgpanw/codemapper documentation built on Aug. 30, 2023, 4:07 p.m.