dataone_download.Rd
Adapts the dataone::getDataPackage workflow to allow users to download data from the DataONE federation by simply entering the doi or associated package id
dataone_download(id, filepath = "/fs/data1/pecan.data/dbfiles", CNode = "PROD", lazyLoad = FALSE, quiet = FALSE)
id | "The identifier of a package, package metadata or other package member" -- dataone r |
---|---|
filepath | path to where files will be stored |
CNode | |
lazyLoad | "A logical value. If TRUE, then only package member system metadata is downloaded and not data. The default is FALSE." -- dataone R |
quiet | "A 'logical'. If TRUE (the default) then informational messages will not be printed." -- dataone R |
# NOT RUN { dataone_download(id = "doi:10.6073/pasta/63ad7159306bc031520f09b2faefcf87", filepath = "/fs/data1/pecan.data/dbfiles") # }