Explore open access research and scholarly works from NERC Open Research Archive

Advanced Search

rnrfa: an R package to retrieve, filter and visualize data from the UK National River Flow Archive

Vitolo, Claudia; Fry, Matthew ORCID: https://orcid.org/0000-0003-1142-4039; Buytaert, Wouter. 2016 rnrfa: an R package to retrieve, filter and visualize data from the UK National River Flow Archive. R Journal, 8 (2). 102-116.

Abstract
The UK National River Flow Archive (NRFA) stores several types of hydrological data and metadata: daily river flow and catchment rainfall time series, gauging station and catchment information. Data are served through the NRFA web services via experimental RESTful APIs. Obtaining NRFA data can be unwieldy due to complexities in handling HTTP GET requests and parsing responses in JSON and XML formats. The rnrfa package provides a set of functions to programmatically access, filter, and visualize NRFA data using simple R syntax. This paper describes the structure of the rnrfa package, including examples using the main functions gdf() and cmr() for flow and rainfall data, respectively. Visualization examples are also provided with a shiny web application and functions provided in the package. Although this package is regional specific, the general framework and structure could be applied to similar databases.
Documents
516735:112759
[thumbnail of N516735JA.pdf]
Preview
N516735JA.pdf - Published Version
Available under License Creative Commons Attribution.

Download (3MB) | Preview
Information
Programmes:
CEH Science Areas 2013- > Water Resources
Library
Statistics

Downloads per month over past year

More statistics for this item...

Share
Add to AnyAdd to TwitterAdd to FacebookAdd to LinkedinAdd to PinterestAdd to Email
View Item