get_ukb_synthetic_data: Download the UKB synthetic dataset

View source: R/ukb_synthetic_dataset.R

get_ukb_synthetic_dataR Documentation

Download the UKB synthetic dataset

Description

Download the UKB synthetic dataset

Usage

get_ukb_synthetic_data(download_dir, dataset = "tabular.md5", timeout = 600)

Arguments

download_dir

Directory to download files to.

dataset

Character. The name of one of the .md5 files on the UKB synthetic data webpage. All

timeout

Integer. Passed to options() to determine how long download.file() attempts to download for.

Value

Invisibly returns a list with downloaded file paths and errors for failed downloads.

Examples

## Not run: 
 get_ukb_synthetic_data(download_dir = tempdir())

## End(Not run)

rmgpanw/ukbwranglrextra documentation built on Jan. 4, 2023, 1:56 a.m.