Use R to download a file to the UK Biobank RAP (really just a wrapper for `dx download`)
Arguments
- file
A string. Filename of the file to be downloaded (character)
- verbose
Logical. Be verbose,
default=FALSE
Examples
readr::write_tsv(data.frame(x=1:10,y=11:20), "ukbrap.dummy.20231114.txt.gz")
# download file to RAP storage
download_from_rap(file="ukbrap.dummy.20231114.txt.gz", dir="extracts/")