get_measures: Retrieve Measures Specified for Waterbodies

Description Usage Arguments Value Examples

View source: R/get_measures.r

Description

Retrieves details of the measures put in place or proposed for specified waterbodies to try and achieve the status objectives set for 2021 from the EA Catchment Data Explorer site. Data can be retrieved by specifying Management Catchment (MC), Operational Catchment (OC) or River Basin District (RBD). Note that Measures data are patchy as only measures explicitly linked to a target change in status are included. Therefore in many cases the function will return an empty dataframe with a message.

Usage

1
get_measures(ea_name = NULL, column = NULL)

Arguments

ea_name

A string representing the description (name) of the features to be extracted. For example to extract data for the whole of the Humber RBD, this would be "Humber"; also see examples. Must be an exact match to the values used in the EA database. Use the search_names function to search for specific values.

column

The column to be searched. Possible options are WBID (waterbody id), OC (Operational Catchment), MC (Management Catchment) and RBD (River Basin District).

Value

A data frame containing the details of the measures put in place to try and improve water quality.

Examples

1
2
3
4
5
# get the measures put in place for the Thames RBD
## Not run: get_measures("Thames", "RBD")

# get the measures put in place for the Loddon Operational Catchment
## Not run: get_measures("Loddon", "OC")

robbriers/cde documentation built on May 5, 2019, 7:59 p.m.