Lesson Breakdown
Lesson 1
Goals:
- Get up and running in the lab
- Know what bits of infrastructure we have
- Introduction to R through visualization
- How to load your own data into R
- Getting setup
- Getting the shell
- SSH keys
- The SDAL Infrastructure
- RStudio
- The other tools availiable
- Shell (Bash)
- The “Tidyverse” ecosystem
- Scripts and running R code
- Exploring your data through visualizations (
ggplot2
) - Loading and saving a datasets (
readr
,haven
)
Lesson 2
Goals:
- Introduction to Markdown (
rmarkdown
) andknitr
- Take “pretty” notes with “simple” notation
- Learn how to create basic reports with your code
- What the code projects look like
- Working with git locally
- Markdown
- Knitr
- The project template
- Workflow basics
- Projects
- Git (locally)
Lesson 3
Goals:
- Git with an eye towards collaboration
- Working with remotes (GitHub and GitLab)
- Collaborating with branches
- Git (remotes)
- Git (branches)
- Git (collaboration)
Lesson 4
Goals:
- Start the process of manipulating data
- Perform data subsetting and aggregations
- Explore data with basic statistics and visualizations
- Reshaping data and fixing common data problems through the tidying process
- Transform data with (
dplyr
) - Pipes (
%>%
) - Exploratory Data Analysis (EDA)
tibble
, the tidyverse “dataframe”- Tidying data (
tidyr
)
Lesson 5
Goals:
- Understanding relational data
- Merging datasets together
- Work with relational data in a database
- Writing SQL code and how to run them from within R
- Relational Data in R (
dplyr
) - Working with databases
- SQLite
- PostgreSQL
- SQL
- Working with SQL in your R code
Lesson 6
Goals:
- Work with strings, factors, and date time values in R
- Strings
- Factors (
forcats
) - Dates and Times
Lesson 7
- Programming “fundamentals”
- Functions
- Vectors
Loops
- Functions
- Vectors
- Iteration
purrr
- for loops
Lesson 8
Goals:
- The dialects of R
- Review of tidyverse functions
- How tidyverse relates to base R
- The base R data.frame object
- apply family of functions
- How data.table playes a role in the R ecosystem
base
Rdata.table
tidyverse
Lesson 9
- Working with geospatial data with
sf
Lesson 10
Goals:
- Web scraping
- API
- Scrape
Lesson 11
- Communication
- R Markdown
- Graphics
- R Markdown formats
- Shiny