download_d1_data_pkg {metajam} | R Documentation |
Download all data and metadata of a data package from DataONE
Description
Downloads all the data objects of a data package from DataONE along with metadata.
Usage
download_d1_data_pkg(meta_obj, path)
Arguments
meta_obj |
(character) A DOI or metadata object PID for a DataONE package to download. |
path |
(character) Path to a directory to download data to. |
Value
(list) Paths where data are downloaded to.
See Also
[read_d1_files()] [download_d1_data()]
Examples
## Not run:
download_d1_data_pkg("doi:10.18739/A2028W", ".")
download_d1_data_pkg("https://doi.org/10.18739/A2028W", ".")
## End(Not run)
[Package metajam version 0.3.0 Index]