Delta Hydro

dataRetrieval

Active

The USGS R package for pulling NWIS and Water Quality Portal data — gauge records as tidy data frames.

by US Geological Survey

Pricing
Open Source
License
CC0 (US Government)
Commercial use
Permitted
Ecosystem
R
Platform
Windows, macOS, Linux

Install

install.packages("dataRetrieval")

About dataRetrieval

dataRetrieval is how R users get US hydrological data properly: discharge, stage, groundwater levels and water-quality samples from USGS services and the multi-agency Water Quality Portal, returned as documented, tidy data frames with metadata attached. It is maintained by the USGS itself and tracks the agency's evolving web services so your scripts don't have to.

Every reproducible US hydrology workflow in R starts here — frequency analysis, trend studies (it feeds EGRET directly), model calibration. If you have ever hand-downloaded a gauge record from a portal, this package refunds those hours.

Where it fits in the workflow

TerrainCatchmentRainfallRunoffRoutingHydraulicsMappingReporting

Appears in collections

Alternatives to dataRetrieval

Ranked by the topics, categories and workflow stages they share with dataRetrieval.

fasstr

Open Source

Canadian government R package for streamflow analysis — trends, frequencies and summaries from HYDAT.

Data, Monitoring & ForecastingActiveStreamflow DataR Hydrology

hydroTSM

Open Source

R workhorse for hydrological time series — aggregation, summaries and hydrologically-aware plots in a few calls.

Data, Monitoring & ForecastingStableR HydrologyStreamflow Data

rnrfa

Open Source

R client for the UK National River Flow Archive — catalogue, gauged daily flows and catchment metadata.

Data, Monitoring & ForecastingStableStreamflow DataR Hydrology

Caravan

Open Source

The open global large-sample hydrology dataset — thousands of catchments with forcing, attributes and streamflow.

Data, Monitoring & ForecastingActiveStreamflow DataRainfall Data

HyRiver

Open Source

A Python software stack for US hydrology data: NHD+ networks, gauges, DEMs, soils and climate via one API family.

Data, Monitoring & ForecastingActiveStreamflow DataRainfall Data