R/list_tses.R

Defines functions list_tses

Documented in list_tses

#' List the timeseries data available for a particular site
#' 
#' @inheritParams list_datasets
#' @inheritParams ts_has_file
#' @return a character vector of timeseries names, or NULL if none exists
#' @seealso \code{\link{get_ts}} \code{\link{locate_ts}} \code{\link{list_sites}}
#' @examples
#' list_tses(site = "nwis_50231500")
#' @export
list_tses = function(site_name, with_ts_version='rds', with_ts_archived=FALSE, with_ts_uploaded_after='2015-01-01', limit=10000) {
  list_datasets(site_name=site_name, data_type='ts', with_ts_version=with_ts_version, with_ts_archived=with_ts_archived, with_ts_uploaded_after=with_ts_uploaded_after)
}
USGS-R/mda.streams documentation built on June 3, 2023, 8:43 a.m.