Learn R Programming

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

rnrfa (version 0.2.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

380

Version

0.2.0

License

GPL-3

Maintainer

Claudia Vitolo

Last Published

July 2nd, 2015

Functions in rnrfa (0.2.0)

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
FindTS

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

Extract info from the waterml2.
OSG2LatLon

Converts easting/northing to latitude/longitude.
NRFA_TS

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).
NRFA_Catalogue

List of stations from UK NRFA