Get UK Biobank resource 592 directly from UK Biobank website
Source:R/get_ukb_resource_592.R
get_ukb_resource_592.RdDownloads the UK Biobank code mappings file (all_lkps_maps_v4.xlsx,
resource 592) directly
from the UKB website.
Usage
get_ukb_resource_592(dir_path = tempdir(), overwrite = FALSE, quiet = FALSE)Examples
if (FALSE) { # \dontrun{
# download UKB resource 592, returning file path invisibly
file_path <- get_ukb_resource_592()
# download to specific directory, overwriting if exists
file_path <- get_ukb_resource_592(
dir_path = tempdir(),
overwrite = TRUE
)
# view path to downloaded file
file_path
} # }