get_measures: Get details of measures available from the EA API

View source: R/get_measures.R

get_measuresR Documentation

Get details of measures available from the EA API

Description

In additional to listing stations, which includes the information on the measures available from each station, you can list the available measures directly.

Usage

get_measures(
  parameter_name = NULL,
  parameter = NULL,
  qualifier = NULL,
  station_reference = NULL,
  station = NULL
)

Arguments

parameter_name

Return only measures for parameters with the given name, for example 'Water Level' or 'Flow'.

parameter

Return only measures for parameters with the given short form name, for example 'level' or 'flow'.

qualifier

Return only those measures with the given qualifier. Useful qualifiers are 'Stage' and 'Downstream Stage' (for stations such as weirs which measure levels at two locations), 'Groundwater' for groundwater levels as opposed to river levels and 'Tidal Level' for tidal levels.

station_reference

Return only those measures which are available from the station with the given reference identifier.

station

Return only those measures which are available from the station with the given URI.

Value

A dataframe of the Environment Agency flood monitoring measures for the given criteria.


DavidASmith/eaflood documentation built on April 5, 2022, 4:29 a.m.