View source: R/download_corpus.R
download_corpus | R Documentation |
This function fetchs newest IDs and revision numbers from a given EDI scope, then download EML metadata files to a specified directory. Newest revision from each package only. Files will be named after the full packageId as found in the metadata, e.g. "knb-lter-ble.1.7.xml".
download_corpus(scope, path, EDI_env = "production")
scope |
(character) EDI scope, e.g. "knb-lter-ble" |
path |
(character) Path to existing directory to download EML files into |
EDI_env |
(character) EDI server to query. Defaults to "production". Options are "production", "staging", or "development". |
Nothing in R, just download files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.