The National Water Availability Assessment Data Companion (NWDC) provides nationally-consistent modeled water data, including the surface water supply and use index (SUI), which is an indication of water limitation across the lower 48 United States. In this blog, we demonstrate how to programmatically download data from the Data Companion using R and API web services, process the data for mapping, and create customized data visualizations.
Tag: Reproducible Data Science
Building firefly-style maps in R to see patterns in stream names across United States.
Building a reproducible system for identifying the generic feature words from stream names using R.
Add assertion tests to your functions to ensure assumptions are met and errors are helpful.
Improve your functions with helpful dataframe evaluation patterns.
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
