hydrodownloadR: Hydrologic Station Catalogs and Time Series from Public APIs

Provides a unified, extensible interface to discover hydrologic stations and download daily time series (e.g., water discharge, water level, water temperature, and several other water quality parameter) from national and regional public APIs. Includes a provider registry, S3 generics 'stations' and 'timeseries', licensing metadata, date-range and 'complete history' modes, rate limiting and retries, optional authentication via environment variables, tidy outputs, UTF-8 to ASCII transliteration, and WGS84 coordinates. Designed for reproducible workflows and straightforward addition of new providers. Background and use cases are described in Farber et al. (2025) <doi:10.5194/essd-17-4613-2025> and Farber et al. (2023) <doi:10.57757/IUGG23-2838>.

Version: 0.1.3
Depends: R (≥ 4.1.0)
Imports: cli, dataRetrieval, DBI, dplyr, httr, httr2, jsonlite, lubridate, pdftools, progress, rappdirs, ratelimitr, rlang, RSQLite, sf, magrittr, tibble, cellranger, stringi, stringr
Suggests: odbc, purrr, readr, readxl, rvest, tidyr, tidyselect, xml2, cachem, curl, memoise, testthat (≥ 3.0.0), writexl
Published: 2026-02-25
DOI: 10.32614/CRAN.package.hydrodownloadR (may not be active yet)
Author: Henning Plessow [aut, cre], Global Runoff Data Centre [ctb]
Maintainer: Henning Plessow <h.plessow at googlemail.com>
BugReports: https://github.com/bafg-bund/hydrodownloadR/issues
License: MIT + file LICENSE
URL: https://bafg-bund.github.io/hydrodownloadR/, https://github.com/bafg-bund/hydrodownloadR
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: hydrodownloadR results

Documentation:

Reference manual: hydrodownloadR.html , hydrodownloadR.pdf

Downloads:

Package source: hydrodownloadR_0.1.3.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=hydrodownloadR to link to this page.