Skip to contents

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

if (FALSE) {
 get_ukb_synthetic_data(download_dir = tempdir())
}