
Plotting hydrography data has never been easier with the latest versions of nhdplusTools and ggplot2. This blog demonstrates how to fetch and map National Hydrography Dataset (NHD) rivers and waterbodies with several reproducible examples.

Plotting hydrography data has never been easier with the latest versions of nhdplusTools and ggplot2. This blog demonstrates how to fetch and map National Hydrography Dataset (NHD) rivers and waterbodies with several reproducible examples.
This is a basic dataRetrieval tutorial for USGS water data in R in which we highlight new functionality for dataRetrieval and the new Water Data APIs.
Quarto provides easier-than-ever ways to create data-driven, reproducible documents. This blog demonstrates how to use custom code templates to easily replicate code chunks with a reproducible USGS streamgage example!
Tips and example R scripts for converting long-formatted data into wide tabular format
Iterate your R code using the map() function from the purrr package.
Write functions in R that run better and are easier to understand.
Learn the ropes building your own functions in R using water data examples.

A pipeline-based approach for making large data pulls from Water Quality Portal

Large pull for all total nitrogen data for streams in the contiguous United States with sites that have at least 40 measurements between 1995 and 2020.