Add assertion tests to your functions to ensure assumptions are met and errors are helpful.
Tag: R
Basic dataRetrieval tutorial for USGS water data in R.
This blog shows several different ways to visualize data from the tidycensus package for R.
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
Improve your functions with helpful dataframe evaluation patterns.
Using the tidycensus package to access and visualize American Community Survey (ACS) data.
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.
