hddtools: Hydrological Data Discovery Tools

DOI status

CRAN Status
Badge CRAN Total
Downloads CRAN Monthly


hddtools stands for Hydrological Data Discovery Tools. This R package is an open source project designed to facilitate access to a variety of online open data sources relevant for hydrologists and, in general, environmental scientists and practitioners.

This typically implies the download of a metadata catalogue, selection of information needed, a formal request for dataset(s), de-compression, conversion, manual filtering and parsing. All those operations are made more efficient by re-usable functions.

Depending on the data license, functions can provide offline and/or online modes. When redistribution is allowed, for instance, a copy of the dataset is cached within the package and updated twice a year. This is the fastest option and also allows offline use of package’s functions. When re-distribution is not allowed, only online mode is provided.


Get the stable version from CRAN:


Or the development version from GitHub using the package remotes:


Load the hddtools package:


Data sources and Functions

The package contains functions to interact with the data providers listed below. For examples of the various functionalities see the vignette.



Try the hddtools package in your browser

Any scripts or data that you put into this service are public.

hddtools documentation built on Feb. 15, 2021, 1:08 a.m.