rnrfa: An R package to Retrieve, Filter and Visualize Data from the UK National River Flow Archive

File Description SizeFormat 
RJ-2016-036.pdfPublished version3.29 MBAdobe PDFView/Open
Title: rnrfa: An R package to Retrieve, Filter and Visualize Data from the UK National River Flow Archive
Authors: Vitolo, C
Fry, M
Buytaert, W
Item Type: Journal Article
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 informa tion. 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.
Issue Date: 1-Mar-2017
Date of Acceptance: 1-Mar-2017
URI: http://hdl.handle.net/10044/1/49873
ISSN: 2073-4859
Publisher: The R Foundation
Start Page: 102
End Page: 116
Journal / Book Title: The R Journal
Volume: 8
Issue: 2
Copyright Statement: © 2017 The Author(s). This article is licensed under a Creative Commons Attribution 3.0 Unported license (https://creativecommons.org/licenses/by/3.0/) .
Sponsor/Funder: Natural Environment Research Council (NERC)
Natural Environment Research Council (NERC)
Funder's Grant Number: NEC04229
Keywords: Science & Technology
Physical Sciences
Computer Science, Interdisciplinary Applications
Statistics & Probability
Computer Science
0104 Statistics
Publication Status: Published
Appears in Collections:Civil and Environmental Engineering
Centre for Environmental Policy
Faculty of Natural Sciences

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

Creative Commons