Learn R Programming

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

rnrfa (version 0.1.5)

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 (http://www.ceh.ac.uk/data/nrfa/). There are functions to retrieve stations falling in a bounding box, to generate a map and extracting time series and general information. It also contain the dataset \code{StationSummary}.

Copy Link

Version

Install

install.packages('rnrfa')

Monthly Downloads

380

Version

0.1.5

License

GPL (>= 3)

Maintainer

Claudia Vitolo

Last Published

November 7th, 2014

Functions in rnrfa (0.1.5)

FindInfo

Extract info from the waterml2.
OSGParse

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

stationSummary
OSG2LatLon

Converts easting/northing to latitude/longitude.
GetStationSummary

List of stations from UK NRFA
FindTS

This function retrieves time series of gauged daily flow from the NRFA database.
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/)
SearchNRFA

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