Learn R Programming

rnrfa (version 2.1.0.7)

UK National River Flow Archive Data from R

Description

Utility functions to retrieve data from the UK National River Flow Archive (, terms and conditions: ). 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. The package is fully described in Vitolo et al (2016) "rnrfa: An R package to Retrieve, Filter and Visualize Data from the UK National River Flow Archive" .

Copy Link

Version

Install

install.packages('rnrfa')

Monthly Downloads

761

Version

2.1.0.7

License

GPL-3

Maintainer

Ilaria Prosdocimi

Last Published

August 25th, 2025

Functions in rnrfa (2.1.0.7)

convert_flow

Convert flow from cumecs to mm/d
get_ts

This function retrieves time series data.
gdf

This function retrieves Gauged Daily Flow (gdf).
plot_rain_flow

Plot rainfall and flow for a given station
catalogue

List of stations from UK NRFA
cmr

This function retrieves Catchment Mean Rainfall (cmr).
rnrfa-package

UK National River Flow Archive data from R
plot_trend

Plot trend
print.nrfa_api

print.nrfa_api
osg_parse

Converts OS Grid Reference to BNG/WGS coordinates.
station_ids

List of stations identification numbers from UK NRFA
seasonal_averages

Calculate seasonal averages