get_stations: Get list of stations for a variable

View source: R/get_stations.R

get_stationsR Documentation

Get list of stations for a variable

Description

For a given timeseriesgroup (variable), provide a list of measurement stations providing data. An overview of the variables is provided by the function supported_variables.

Usage

get_stations(variable_name = NULL, frequency = "15min", token = NULL)

Arguments

variable_name

char valid nam of available variable as timeseriesgroup

frequency

char valid frequency for the given variable, for most variables, the 15min frequency is available

token

token to use with the call (optional, can be retrieved via get_token)

Format

A data.frame with 10 variables:

ts_id

Unique timeseries identifier to access time series data corresponding to a combination of the station, measured variable and frequency.

station_latitude

Latitude coordinates of the station (WGS84)

station_longitude

Longitude coordinates of the station (WGS84)

station_id

Identifier of the station as used in the waterinfo backend

station_no

Station ID as provided on the waterinfo.be website.

station_name

Official name of the measurement station.

stationparameter_name

Station specific variable description.

parametertype_name

Measured variable description.

ts_unitsymbol

Unit of the variable.

dataprovider

Data provider of the time series data.

The URL of the specific request is provided as a comment attribute to the returned data.frame. Use comment(df) to get the request URL.

Details

For the moment, this only works for measurement stations of VMM (meetnet 1), and stations from other measurement data sources are not included in the list

Value

data.frame with an overview of the available stations for the requested variable

See Also

supported_variables

Examples

get_stations('irradiance')
get_stations('soil_saturation')

stijnvanhoey/wateRinfo documentation built on July 12, 2022, 2:20 p.m.