A tidy R client for services implementing the OGC API - Environmental Data Retrieval ('EDR') standard with JSON discovery and 'GeoJSON' or 'CoverageJSON' query responses. 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.1 |
| Depends: | R (≥ 4.1) |
| Imports: | cli, httr2 (≥ 1.1.0), jsonlite, purrr, rlang, tibble, vctrs |
| Suggests: | base64enc, ggplot2, htmlwidgets, knitr, leaflet, rmarkdown, sf, svglite, testthat (≥ 3.0.0), webfakes |
| Published: | 2026-07-10 |
| DOI: | 10.32614/CRAN.package.edr4r |
| 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 |
| Reference manual: | edr4r.html , edr4r.pdf |
| Vignettes: |
Getting started with edr4r (source, R code) USGS streamgages: discover and map a basin (source) |
| Package source: | edr4r_0.1.1.tar.gz |
| Windows binaries: | r-devel: edr4r_0.1.0.zip, r-release: edr4r_0.1.0.zip, r-oldrel: edr4r_0.1.0.zip |
| 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.1.tgz |
| Old sources: | edr4r archive |
Please use the canonical form https://CRAN.R-project.org/package=edr4r to link to this page.