Slides

We recommend that you open the html slides with Google Chrome web browser.

  1. Getting started
  2. Base R and tidyverse
  3. Data manipulation with dplyr
  4. Manipulating strings with stringr
  5. Tidying data with tidyr

Schedule

Time Activity
1.00-1.30 Registration + Installation Help
1.30-2.00 Lesson 1: Base R and tidyverse
2.00-2.15 Break out session
2.15-2.45 Lesson 2: Data manipulation with dplyr
2.45-3.00 Break out session
3.00-3.30 Coffee Break
3.30-4.00 Lesson 3: Manipulating strings with stringr
4.00-4.15 Break out session
4.15-4.45 Lesson 4: Tidying data with tidyr
4.45-5.00 Break out session

Exercises

Please make sure you install the following packages with latest versions.

install.packages("tidyverse")
install.packages("rmarkdown")
install.packages("remotes")
install.packages("shiny")
install.packages("RVerbalExpressions")
install.packages("janitor")
install.packages("broom")
install.packages("agridat")

# you will need to have installed the remotes package for below
remotes::install_github("rstudio/learnr")
remotes::install_github("rstudio-education/gradethis")
remotes::install_github("ropenscilabs/ozbabynames")
remotes::install_github("gadenbuie/regexplain")

To do the exercises, please install the following package:

remotes::install_github("emitanaka/dwexercise")

In order to launch the exercises, use one of the commands below:

learnr::run_tutorial("day1-exercise-01", package = "dwexercise")
learnr::run_tutorial("day1-exercise-02", package = "dwexercise")
learnr::run_tutorial("day1-exercise-03", package = "dwexercise")
learnr::run_tutorial("day1-exercise-04", package = "dwexercise")

If the above are not working for you, you can try the shiny app version instead: