catalogueData60UK: Data source: Data60UK catalogue

View source: R/Data60UK.R

catalogueData60UKR Documentation

Data source: Data60UK catalogue

Description

This function interfaces the Data60UK database catalogue listing 61 gauging stations.

Usage

catalogueData60UK(areaBox = NULL)

Arguments

areaBox

bounding box, a list made of 4 elements: minimum longitude (lonMin), minimum latitude (latMin), maximum longitude (lonMax), maximum latitude (latMax) or an object of type "SpatExtent"

Value

This function returns a data frame containing the following columns:

id

Station id number.

River

String describing the river's name.

Location

String describing the location.

gridReference

British National Grid Reference.

Latitude
Longitude

Author(s)

Claudia Vitolo

Source

http://nrfaapps.ceh.ac.uk/datauk60/data.html

Examples

## Not run: 
  # Retrieve the whole catalogue
  Data60UK_catalogue_all <- catalogueData60UK()

  # Filter the catalogue based on a bounding box
  areaBox <- terra::ext(-4, -2, +52, +53)
  Data60UK_catalogue_bbox <- catalogueData60UK(areaBox)

## End(Not run)


ropensci/hddtools documentation built on July 24, 2022, 6:29 p.m.