parse_ts_name | R Documentation |
Translate a timeseries name from ScienceBase to mda.streams
parse_ts_name(ts_name, out = "var_src", use_names = length(ts_name) > 1)
ts_name |
timeseries name[s] in ScienceBase lingo (e.g.,
|
out |
character, length 1 or 2 selected from |
use_names |
logical. Should the return vector or data.frame be named according to the input values? |
timeseries name[s]in mda.streams lingo (e.g., wtr
)
mda.streams:::parse_ts_name("ts_doobs_nwis")
mda.streams:::parse_ts_name(c("ts_doobs_nwis", "ts_stage_nwis"))
mda.streams:::parse_ts_name(ts_name="ts_doobs_nwis", out=c("var_src","src"))
mda.streams:::parse_ts_name(c("ts_doobs_nwis", "ts_stage_nwis"), c("src","var"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.