edr4r: Client for the 'OGC API - Environmental Data Retrieval' Standard

A tidy 'R' client for services implementing the 'OGC API - Environmental Data Retrieval' ('EDR') standard. It is general purpose, but most of its real-world use is against in-situ monitoring networks (stream gauges, weather stations, snow and reservoir telemetry) that expose their stations and time series as 'EDR' collections. Known working endpoints include the 'USGS waterdata OGC API' and the 'Western Water Datahub'. Provides discovery, query, and parsing helpers for the locations, items, position, area, cube, radius, trajectory, and corridor query types. Returns 'CoverageJSON' as tidy 'tibble' rows and 'GeoJSON' as 'sf' objects.

Version: 0.1.0
Depends: R (≥ 4.1)
Imports: cli, httr2 (≥ 1.0.0), jsonlite, purrr, rlang, tibble, vctrs
Suggests: base64enc, ggplot2, htmlwidgets, knitr, leaflet, rmarkdown, sf, svglite, testthat (≥ 3.0.0)
Published: 2026-06-18
DOI: 10.32614/CRAN.package.edr4r (may not be active yet)
Author: Kyle Onda [aut, cre, cph]
Maintainer: Kyle Onda <konda at lincolninst.edu>
BugReports: https://github.com/ksonda/edr4r/issues
License: MIT + file LICENSE
URL: https://github.com/ksonda/edr4r
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: edr4r results

Documentation:

Reference manual: edr4r.html , edr4r.pdf
Vignettes: Getting started with edr4r (source, R code)
USGS streamgages: discover and map a basin (source)
Western Water Datahub collection field guide (source)
Western Water Datahub EDR with raw HTTP (source)

Downloads:

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

Linking:

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