View source: R/download_metab_run.R
download_metab_run | R Documentation |
Download files stored in a metabolism run SB item to a user-specified (or
temp file) location. A new folder will be created within that location to
store the downloaded files. The default is to download all available files,
but specific files may be specified with the files
argument.
download_metab_run(title, files = NA, folder = tempdir(),
on_remote_missing = c("stop", "return_NA"), on_local_exists = c("stop",
"skip", "replace"))
title |
the title of the metabolism run (date, tag, and strategy separated by spaces) |
files |
NA for all files, or a list of vectors of specific filenames (character) to download, one vector per title |
folder |
string for a folder location where files should be saved, or a vector of as many folders as there are item_ids |
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
Alison P Appling
## Not run:
download_ts(var_src = 'doobs_nwis', site_name = 'nwis_06893300')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.