View source: R/download_metab_model.R
download_metab_model | R Documentation |
WARNING: older metab_models may not be compatible with contemporary streamMetabolizer or mda.streams functions. To investigate older models, either apply modernize_metab_model to your downloaded files or use get_metab_model, which does this for you.
download_metab_model(model_name, folder = tempdir(), version = c("modern",
"original"), on_remote_missing = c("stop", "return_NA"),
on_local_exists = c("stop", "skip", "replace"))
model_name |
the name of the metab_model file |
folder |
string for a folder location where files should be saved, or a vector of as many folders as there are item_ids |
version |
character indicating whether you want the original metab_model or a modernized one that works with the current streamMetabolizer version |
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_metab_model("nwis_04087088-200-150730 0.0.7 MLE_for_PRK_wHarvey_and_sw")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.