USGS - science for a changing world

R Training Curriculum

This is a collection of the USGS R training curriculum, and materials that correspond to specific workshops. The current courses are Introduction to R, Introduction to USGS R Packages, and R Package Development. TNavigate using the side menu or the "Next/Prev" buttons on each lesson.

Introduction to R: learn how to go through a basic scientific workflow using R. Get and read data, clean it up, explore the data using basic statistics and plotting, analyze using simple regressions or models, visualize the data with publication-ready plots, and then repeat or automate this process. In addition to the lessons that teach the basic skills, there is a section pointing to external material for topics not covered called Additional Topics in R. Also, there is a crib sheet Sheet summarizing all of the functions used in the curriculum, and a summary of the USGS developed R packages.

Introduction to USGS R Packages: This course builds on basic R data analysis skills by introducing USGS-built packages that can be leveraged to create advanced, reproducible workflows, such as for accessing gridded climate data, analyzing high frequency water observations, and for taking full advantage of the USGS ScienceBase repository. The USGS packages covered in this course span a variety of applications: accessing web data, accessing personally stored data, releasing data for publication, and visualizing data within R. Following the course, students will be capable of integrating these packages into their own scientific workflows. This course requires moderate to advanced knowledge of the statistical programming language R. This is an online-only course.

R Package Development: This workshop covers the R package development life cycle, including development best practices, version control, and maintenance. This workshop intends to give advanced R programmers the skills they need to turn their scripted workflows into an R package. R packages allow code to be bundled into functions and easily downloaded and installed by users.

To learn more about how to schedule a training, visit the USGS-R training homepage.