Learn R Programming

hddtools (version 0.9.4)

catalogueData60UK: 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)

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

Examples

Run this code
# NOT RUN {
  # Retrieve the whole catalogue
  Data60UK_catalogue_all <- catalogueData60UK()

  # Filter the catalogue based on a bounding box
  areaBox <- raster::extent(-4, -2, +52, +53)
  Data60UK_catalogue_bbox <- catalogueData60UK(areaBox)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab