Using R in hydrology: a review of recent developments and future directions

The open-source programming language R has gained a central place in the hydrological sciences over the last decade, driven by the availability of diverse hydro-meteorological data archives and the development of open-source computational tools. The growth of R's usage in hydrology is reflected...

Full description

Bibliographic Details
Main Authors: Slater, L, Thirel, G, Harrigan, S, Delaigue, O, Hurley, A, Khouakhi, A, Prodoscimi, I, Vitolo, C, Smith, K
Format: Journal article
Language:English
Published: European Geosciences Union 2019
_version_ 1797065186856665088
author Slater, L
Thirel, G
Harrigan, S
Delaigue, O
Hurley, A
Khouakhi, A
Prodoscimi, I
Vitolo, C
Smith, K
author_facet Slater, L
Thirel, G
Harrigan, S
Delaigue, O
Hurley, A
Khouakhi, A
Prodoscimi, I
Vitolo, C
Smith, K
author_sort Slater, L
collection OXFORD
description The open-source programming language R has gained a central place in the hydrological sciences over the last decade, driven by the availability of diverse hydro-meteorological data archives and the development of open-source computational tools. The growth of R's usage in hydrology is reflected in the number of newly published hydrological packages, the strengthening of online user communities, and the popularity of training courses and events. In this paper, we explore the benefits and advantages of R's usage in hydrology, such as the democratization of data science and numerical literacy, the enhancement of reproducible research and open science, the access to statistical tools, the ease of connecting R to and from other languages, and the support provided by a growing community. This paper provides an overview of a typical hydrological workflow based on reproducible principles and packages for retrieval of hydro-meteorological data, spatial analysis, hydrological modelling, statistics, and the design of static and dynamic visualizations and documents. We discuss some of the challenges that arise when using R in hydrology and useful tools to overcome them, including the use of hydrological libraries, documentation, and vignettes (long-form guides that illustrate how to use packages); the role of integrated development environments (IDEs); and the challenges of big data and parallel computing in hydrology. Lastly, this paper provides a roadmap for R's future within hydrology, with R packages as a driver of progress in the hydrological sciences, application programming interfaces (APIs) providing new avenues for data acquisition and provision, enhanced teaching of hydrology in R, and the continued growth of the community via short courses and events.
first_indexed 2024-03-06T21:25:04Z
format Journal article
id oxford-uuid:42cf3806-bf3f-4479-8287-7e1365ff11bb
institution University of Oxford
language English
last_indexed 2024-03-06T21:25:04Z
publishDate 2019
publisher European Geosciences Union
record_format dspace
spelling oxford-uuid:42cf3806-bf3f-4479-8287-7e1365ff11bb2022-03-26T14:51:38ZUsing R in hydrology: a review of recent developments and future directionsJournal articlehttp://purl.org/coar/resource_type/c_dcae04bcuuid:42cf3806-bf3f-4479-8287-7e1365ff11bbEnglishSymplectic Elements at OxfordEuropean Geosciences Union2019Slater, LThirel, GHarrigan, SDelaigue, OHurley, AKhouakhi, AProdoscimi, IVitolo, CSmith, KThe open-source programming language R has gained a central place in the hydrological sciences over the last decade, driven by the availability of diverse hydro-meteorological data archives and the development of open-source computational tools. The growth of R's usage in hydrology is reflected in the number of newly published hydrological packages, the strengthening of online user communities, and the popularity of training courses and events. In this paper, we explore the benefits and advantages of R's usage in hydrology, such as the democratization of data science and numerical literacy, the enhancement of reproducible research and open science, the access to statistical tools, the ease of connecting R to and from other languages, and the support provided by a growing community. This paper provides an overview of a typical hydrological workflow based on reproducible principles and packages for retrieval of hydro-meteorological data, spatial analysis, hydrological modelling, statistics, and the design of static and dynamic visualizations and documents. We discuss some of the challenges that arise when using R in hydrology and useful tools to overcome them, including the use of hydrological libraries, documentation, and vignettes (long-form guides that illustrate how to use packages); the role of integrated development environments (IDEs); and the challenges of big data and parallel computing in hydrology. Lastly, this paper provides a roadmap for R's future within hydrology, with R packages as a driver of progress in the hydrological sciences, application programming interfaces (APIs) providing new avenues for data acquisition and provision, enhanced teaching of hydrology in R, and the continued growth of the community via short courses and events.
spellingShingle Slater, L
Thirel, G
Harrigan, S
Delaigue, O
Hurley, A
Khouakhi, A
Prodoscimi, I
Vitolo, C
Smith, K
Using R in hydrology: a review of recent developments and future directions
title Using R in hydrology: a review of recent developments and future directions
title_full Using R in hydrology: a review of recent developments and future directions
title_fullStr Using R in hydrology: a review of recent developments and future directions
title_full_unstemmed Using R in hydrology: a review of recent developments and future directions
title_short Using R in hydrology: a review of recent developments and future directions
title_sort using r in hydrology a review of recent developments and future directions
work_keys_str_mv AT slaterl usingrinhydrologyareviewofrecentdevelopmentsandfuturedirections
AT thirelg usingrinhydrologyareviewofrecentdevelopmentsandfuturedirections
AT harrigans usingrinhydrologyareviewofrecentdevelopmentsandfuturedirections
AT delaigueo usingrinhydrologyareviewofrecentdevelopmentsandfuturedirections
AT hurleya usingrinhydrologyareviewofrecentdevelopmentsandfuturedirections
AT khouakhia usingrinhydrologyareviewofrecentdevelopmentsandfuturedirections
AT prodoscimii usingrinhydrologyareviewofrecentdevelopmentsandfuturedirections
AT vitoloc usingrinhydrologyareviewofrecentdevelopmentsandfuturedirections
AT smithk usingrinhydrologyareviewofrecentdevelopmentsandfuturedirections