Title
Rnrfa: An r package to retrieve, filter and visualize data from the uk national river flow archive
Date Issued
01 January 2016
Access level
open access
Resource Type
journal article
Author(s)
Vitolo C.
Fry M.
Imperial College London
Publisher(s)
Technische Universitaet Wien
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.
Start page
102
End page
116
Volume
8
Issue
2
Language
English
OCDE Knowledge area
Oceanografía, Hidrología, Recursos hídricos
Scopus EID
2-s2.0-85013218319
Source
R Journal
ISSN of the container
20734859
Sponsor(s)
This work was carried out when Claudia Vitolo was working at the Imperial College London and supported by the Natural Environment Research Council pilot Probability, Uncertainty & Risk in the Environment (PURE) NE/I004017/1. Comments from two referees are gratefully acknowledged. International Union of Pure and Applied Chemistry - IUPAC Natural Environment Research Council- NE/I004017/1 - NERC
Sources of information: Directorio de Producción Científica Scopus