get_pa: Retrieve Protected Area Information

Description Usage Arguments Value Examples

View source: R/get_pa.r

Description

Retrieves details of Protected Areas associated with waterbodies, catchments or River Basin Districts from the EA Catchment Data Explorer site. Data can be retrieved by specifying waterbody id (WBID), Management Catchment (MC), Operational Catchment (OC) or River Basin District (RBD).

Usage

1
get_pa(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 Protected Areas associated with the waterbodies.

Examples

1
2
3
4
5
6
7
8
9
# get protected areas associated with waterbody GB112071065700
## Not run: get_pa("GB112071065700", "WBID")

# get the protected areas associated with the Humber RBD
## Not run: get_pa("Humber", "RBD")

# get the protected areas associated with the Avon Warwickshire
# Management Catchment
## Not run: get_pa("Avon Warwickshire", "MC")

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