ki_timeseries_list: Get list of available time series for station or list of...

Description Usage Arguments Value Examples

View source: R/ki_timeseries_list.R

Description

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

Usage

1
2
ki_timeseries_list(hub, station_id, ts_name, coverage = TRUE, group_id,
  return_fields)

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.

Value

A tibble containing all available time series for selected stations.

Examples

1
2
3
4
5
## Not run: 
ki_timeseries_list(hub = "swmc", station_id = "146775")
ki_timeseries_list(hub = "swmc", ts_name = "Vel*")

## End(Not run)

kiwisR documentation built on Aug. 19, 2019, 5:05 p.m.