R Resources for Water Scientists

Background

There are lots of resources out there for R users and I thought it might be helpful to compile some that might be especially helpful for water scientists. I’ll also admit that this is a 50% selfish task meant to help me keep track of resources for my own learning.

Goals of This Post

The main goal of this blog post is to compile links to R resources including: packages, tutorials, books, etc. that might be of interests to water scientists.

Note to self that someday maybe I can update this post to also include Python resources. For now, I’m sticking to R.

Special thanks to all of the people who’ve worked hard to share their code and insights together to benefit us all. I love the open source programming community!

R Packages

Tutorials

  • Vignettes for the sf package (link)

  • Vignette for elevatr package by Jeff Hollister (link)

  • Vignettes for the tidycensus package (link)

  • USGS introduction to R tutorials (link)

  • USGS R package use tutorials (link)

  • USGS R package development tutorial (link)

  • USGS other R training (link)

  • USGS dataRetrieval tutorial (link)

  • SESYNC R tutorials (link)

  • Software Carpentry introduction to R tutorial (link)

  • NEON R tutorials (link)

Workshops (+ associated code)

  • GIS in R Workshop at Society for 2018 Freshwater Science Conference by R. Hill & M. Beck (link)

  • sf package tutorial with USGS GAGES-II data for NC State BAE 590 Class by S. Saia (link)

Blogs

  • Blog by Jesse Sadler (link)

  • RGeo Blog by Matt Strimas-Mackey (link)

  • Rivers & Ranids Blog by Ryan Peek (link)

  • SESYNC Blog by various (link)

  • Water Programming blog by various (link)

Books

  • R for Data Science by Hadley Wickham & Garrett Grolemund (link)

  • Statistical Inference via Data Science A ModernDive into R and the Tidyverse by Chester Ismay and Albert Kim (link)

  • Spatial Data Science with R by various (link)

  • Spatial Data Science by Edzer Pebesma & Roger Bivand (link)

  • Geocomputation with R by Robin Lovelace, Jakub Nowosad, and Jannes Muenchow (link)

  • Applied Spatial Data Analysis with R by Roger Bivand, Edzer Pebesma, and Virgilio Gómez-Rubio (link)

  • Fundamentals of Data Visualization by Claus O. Wilke (link)

  • Happy Git and GitHub for the useR by Jenny Bryan (link)

  • Blogdown by Yihui Xie, Amber Thomas, and Alison Presmanes Hill (link)

  • rOpenSci Package Development, Maintenance, and Peer Review by Brooke Anderson, Scott Chamberlain, Anna Krystalli, Lincoln Mullen, Karthik Ram, Noam Ross, Maëlle Salmon, and Melina Vidoni (link)

  • Other cool books by RStudio staff (link)

Papers

  • Using R in hydrology: a review of recent developments and future directions by Slater et al. in review at HESS (link)

Other Help

Python Resources

  • Raoul Collenteur’s GitHub page on Python tools for hydrologists (link)

  • John Herman’s Python for Water Resources Engineering tutorial (link)

If you know of any resources that I may have missed (it’s very likely that I missed somehting!) please contact me!