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 for OC, MC or RBD level downloads or WBID for individual waterbodies) 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 anexact 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

An object of class cde_df containing the details of the measures put in place to try and improve water quality. For details of the meaning of the the different columns returned, see https://docs.ropensci.org/cde/articles/cde-output-reference.html.

Examples

1
2
3
4
5
# get the measures put in place for the Thames RBD
get_measures(ea_name="Thames", column="RBD")

# get the measures put in place for the Loddon Operational Catchment
get_measures(ea_name="Loddon", column="OC")

cde documentation built on Sept. 4, 2019, 9:02 a.m.