Unleashing the power of reproducible workflows with “R for Water Resources Data Science” (R 4 WRDS).
This course is most relevant and targeted at folks who work with data, from analysts and program staff to engineers and scientists. This course provides an introduction to the power and possibility of a reproducible programming language (R
) by demonstrating how to import, explore, visualize, analyze, and communicate different types of data. Using water resources based examples, this course guides participants through basic data science skills and strategies for continued learning and use of R
.
R
?R
is a language for statistical computing and a general purpose programming language. It is one of the primary languages used for data science, modeling, and visualization.
This workshop will provide attendees with a starting point for continued learning and use of R
. We will cover a variety of commonly used file types (i.e., .csv
, .xlsx
, .shp
) used in analysis, and provide resources for additional learning.
In this course, we start from first principles and assume no prior experience with R
. Although each module in this course can serve as a “stand-alone” lesson, we recommend completing modules in order from start to finish.
In this course you will gain practice in:
{dplyr}
{ggplot2}
Course Modules
ggplot2
}dplyr
}RMarkdown
}All data used in this course is expected to live in a /data
subfolder in the project directory. It can be downloaded in 1 of 2 ways:
r4wrds-data
Github repositoryYour project directory structure should look like this (note the position of the /data
subfolder):
.
├── scripts
│ ├── module_01.R
│ └── module_02.R
│ └── ...
├── data
│ ├── gwl.csv
│ └── polygon.shp
│ └── ...
└── intro_proj.Rproj
To complete code exercises and follow along in the course, we will create these folders and download the data in the introductory project management module.
We will follow the SFS Code of Conduct throughout our workshop.
All source materials for this website can be accessed at the r4wrds
Github repository.
Content in these lessons has been modified and/or adapted from Data Carpentry: R
for data analysis and visualization of Ecological Data, the USGS-R training curriculum here, the NCEAS Open Science for Synthesis workshop here, Mapping in R
, and the wonderful text R
for data science.
site last updated: 2024-01-20 20:55
If you see mistakes or want to suggest changes, please create an issue on the source repository.
Text and figures are licensed under Creative Commons Attribution CC BY 4.0. Source code is available at https://github.com/r4wrds/r4wrds, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".