View source: R/list_datasets.R
list_datasets | R Documentation |
list_datasets(site) returns the data available to a specific site. In
contrast, get_var_src_codes(out="var_src")
returns a list of all
possible variables.
list_datasets(site_name, data_type = c("ts", "watershed"),
with_ts_version = "rds", with_ts_archived = FALSE,
with_ts_uploaded_after = "2015-01-01", limit = 10000)
site_name |
a character vector of length one with a site name such as those returned from make_site_name() |
data_type |
character. one or more dataset types to return |
with_ts_version |
one or more of |
with_ts_archived |
one or more of |
with_ts_uploaded_after |
POSIXct, or convertible to POSIXct, giving date after which a ts must have been uploaded to count |
limit |
integer. the maximum number of items to return |
an alphabetically sorted character vector of unique timeseries variable names (in var_src format)for given sites
## Not run:
list_datasets(site_name = 'nwis_01021050')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.