View source: R/download_meta.R
download_meta | R Documentation |
Download a metadata file to a user-specified (or temp file) location
download_meta(type, folder = tempdir(), on_remote_missing = c("stop",
"return_NA"), on_local_exists = c("stop", "skip", "replace"))
type |
the metadata type |
folder |
string for a folder location |
on_remote_missing |
character indicating what to do if the |
on_local_exists |
character indicating what to do if the folder already contains a file with the intended download name |
file handle (character path) for the downloaded file, or NA if the timeseries is unavailable on ScienceBase
Corinna Gries, Jordan S Read, Luke A Winslow, Alison P Appling
## Not run:
download_meta(type="basic", on_local_exists="replace")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.