nerc.ac.uk

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

Vitolo, Claudia; Fry, Matthew; 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.

Before downloading, please read NORA policies.
[img]
Preview
Text
N516735JA.pdf - Published Version
Available under License Creative Commons Attribution.

Download (3MB) | Preview

Abstract/Summary

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.

Item Type: Publication - Article
CEH Sections: Rees (from October 2014)
ISSN: 2073-4859
Additional Information. Not used in RCUK Gateway to Research.: Open Access paper - full text availble via Official URL link.
NORA Subject Terms: Hydrology
Data and Information
Date made live: 31 Mar 2017 13:11 +0 (UTC)
URI: http://nora.nerc.ac.uk/id/eprint/516735

Actions (login required)

View Item View Item

Document Downloads

Downloads for past 30 days

Downloads per month over past year

More statistics for this item...