ki_timeseries_list function

Get list of available time series for station or list of stations.

Get list of available time series for station or list of stations.

ki_timeseries_list( hub, station_id, ts_name, coverage = TRUE, group_id, return_fields, datasource = 0 )

Arguments

  • hub: The KiWIS database you are querying. Either one of the defaults or a URL. See README.
  • station_id: Either a single station id or a vector of station ids. Can be string or numeric. Station ids can be found using the ki_station_list function.
  • ts_name: (Optional) A specific time series short name to search for. Supports the use of "*" as a wildcard.
  • coverage: (Optional) Whether or not to return period of record columns. Defaults to TRUE, change to FALSE for faster queries.
  • group_id: (Optional) A time series group id (see ki_group_list).
  • return_fields: (Optional) Specific fields to return. Consult your KiWIS hub services documentation for available options. Should be a comma separate string or a vector.
  • datasource: (Optional) The data source to be used, defaults to 0.

Returns

A tibble containing all available time series for selected stations.

Examples

## Not run: ki_timeseries_list(hub = "swmc", station_id = "146775") ki_timeseries_list(hub = "swmc", ts_name = "Vel*") ## End(Not run)

Other functions in kiwisR

Related functions from the same R package

  • Maintainer: Ryan Whaley
  • License: MIT + file LICENSE
  • Last published: 2024-10-11