Interface for the Data60UK database catalogue

Share:

Description

This function interfaces the Data60UK database catalogue (available from http://www.nwl.ac.uk/ih/nrfa/pub/index.html) containing 61 datasets. Dataset catalogue is available from http://www.nwl.ac.uk/ih/nrfa/pub/data.html.

Usage

1
catalogueData60UK(bbox = NULL, columnName = NULL, columnValue = NULL)

Arguments

bbox

bounding box, a list made of 4 elements: minimum longitude (lonMin), minimum latitude (latMin), maximum longitude (lonMax), maximum latitude (latMax)

columnName

name of the column to filter

columnValue

value to look for in the column named columnName

Value

This function returns a data frame made of 5 columns: "id" (hydrometric reference number), "name", "location", "Latitude", "Longitude" and "area".

Author(s)

Claudia Vitolo

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
  # Retrieve the whole catalogue
  catalogueData60UK()

  # Define a bounding box
  bbox <- list(lonMin=-3.82,latMin=52.41,lonMax=-3.63,latMax=52.52)

  # Filter the catalogue
  catalogueData60UK(bbox)
  catalogueData60UK(columnName="id",columnValue="62001")

## End(Not run)