Download openSNP user files.
Arguments
- name
User name
- id
User id
- dir
Directory to save file to
- ...
Curl options passed on to crul::HttpClient
See also
Other opensnp-fxns:
allgensnp(),
allphenotypes(),
annotations(),
fetch_genotypes(),
genotypes(),
phenotypes_byid(),
phenotypes(),
users()
Examples
if (FALSE) { # \dontrun{
# Download a single user file, by id
download_users(id = 14)
# Download a single user file, by user name
download_users(name = "kevinmcc")
# Download many user files
lapply(c(14, 22), function(x) download_users(id = x))
read_users(id = 14, nrows = 5)
} # }
