locate_metab_model: Find a metab_model item on ScienceBase

Description Usage Arguments Examples

View source: R/locate_metab_model.R

Description

Find a metab_model item on ScienceBase

Usage

1
2
locate_metab_model(model_name, format = c("id", "url"), by = c("tag", "dir",
  "either"), limit = 5000, browser = (format == "url"))

Arguments

model_name

the model name, e.g., "nwis_05515500-35-150729 0.1.2 compare_par_srces"

format

character indicating whether the folder should be returned as an ID or as a full URL

by

character indicating how to search for the item: using tags ("tag", the default and recommended option), by scanning the parent directory for the desired title ("dir"), or both in combination ("either")?

limit

number of items to return, as in query_item_identifier or item_list_children

browser

logical. Should the URL be opened in a browser?

Examples

1
2
3
4
## Not run: 
locate_metab_model("nwis_02322688-147-150724 0.0.4 nighttime_k", format="url", browser=FALSE)

## End(Not run)

USGS-R/mda.streams documentation built on Dec. 19, 2017, 10:25 p.m.