Learn R Programming

⚠️There's a newer version (2.1.0.5) of this package.Take me there.

rnrfa (version 0.3.0)

UK National River Flow Archive Data from R

Description

Utility functions to retrieve data from the UK National River Flow Archive. The package contains R wrappers to the UK NRFA data temporary-API. There are functions to retrieve stations falling in a bounding box, to generate a map and extracting time series and general information.

Copy Link

Version

Install

install.packages('rnrfa')

Monthly Downloads

651

Version

0.3.0

License

GPL-3

Maintainer

Claudia Vitolo

Last Published

November 20th, 2015

Functions in rnrfa (0.3.0)

FindInfo

Extract info from the waterml2.
GDF

This function retrieves data from wml time series of gauged daily flow from the NRFA database.
NRFA_Catalogue

List of stations from UK NRFA
CMR

This function retrieves data from wml time series of Catchment Monthly Rainfall from the NRFA database.
GDFmeta

This function retrieves metadata from wml time series of gauged daily flow from the NRFA database.
OSG2LatLon

Converts easting/northing to latitude/longitude.
FindTS

This function retrieves time series of gauged daily flow from the NRFA database.
OSGParse

Converts UK National Grid Reference to easting/northing coordinates (epsg:27700).
ToJSONarray

Transforms a data.frame into a JSON array in a format compatible with D3.js and Protovis (source by: http://theweiluo.wordpress.com/2011/09/30/r-to-json-for-d3-js-and-protovis/)
stationSummary

stationSummary
CMRmeta

This function retrieves metadata from wml time series of gauged daily flow from the NRFA database.