download_d1_data_pkg: Download all data and metadata of a data package from DataONE

Description Usage Arguments Value See Also Examples

View source: R/download_d1_data_pkg.R

Description

Downloads all the data objects of a data package from DataONE along with metadata.

Usage

1
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

1
2
3
4
5
## Not run: 
download_d1_data_pkg("doi:10.18739/A2028W", ".")
download_d1_data_pkg("https://doi.org/10.18739/A2028W", ".")

## End(Not run)

NCEAS/metajam documentation built on Oct. 16, 2020, 2:56 a.m.