This repository contains editable class materials built by Garrett Grolemund for two separate one day workshops:
Welcome to the Tidyverse
A gentle introduction to R and its Tidyverse that focuses on learning to do Exploratory Data Analysis with the ggplot2, dplyr, broom, modelr, and rmarkdown packages. The course focuses on doing data science, not writing code; but by the end of the day students will find that they have gained confidence writing code with R.
Data Wrangling with the Tidyverse
An introduction to wrangling lists and tabular data in R with the tidyr, stringr, forcats, lubridate, and purrr packages. The course focuses on creating and using tidy tables and is designed to be a sequel to Welcome to the Tidyverse.
The workshops can be taught sequentially as a two day workshop. Together, the two workshops are an update to Master the Tidyverse, an award winning workshop taught by Garrett.
Each course directory contains the editable Apple Keynote slides that I present during class, as well as the R Markdown files that I give to the students. The R Markdown files contain the scaffolded exercises that students work through during class. All of the material is copyrighted under the Creative Commons BY-SA 4.0 copyright to make the material easy to reuse. I encourage you to reuse it and adapt it to your own courses as you like! Sorry, I do not work in PowerPoint and will not be providing PowerPoint versions of the slides.
Both courses are ready to teach as is—I've taught them several times in this format with pleasing results, but this is my development repository, which means that you can expect slight changes to the courses from time to time. If you plan to use this material, I suggest that you fork a copy of this repository. This will give you your own stable material to work from.
I've developed an efficient way to deliver the course that I encourage you to try:
On the day of the course:
At this point, each student will have an indentical instance of R and RStudio to run their exercises in. They will also have access to all of the course materials, which are included in the project. You can show students how to download these materials to their project locally (if they wish) when prompted by the slides. Students will have access to their permanent copies of the RStudio Cloud project, and the work they did therein, forever. Like most things RStudio Cloud no longer supports support Internet Explorer.
Click the links below to see example RStudio Cloud projects for recent versions of each of the workshops:
I've adopted this workflow because it drastically reduces the amount of time I waste at the beginning of class fixing student's installation bugs.
This may be controversial, but I've come to accept that I'm there to teach students a specific, high value skill. Not to be their tech support. I expect students to be able to handle R install issues on their own or with other resources—especially when the install issues are side effects of security settings or OS's that students choose to use for their own reasons, as many of them are.
A small number of students will not be able to log on to the internet without help, but I've found that I or a TA can help these students during one of the many student exercise sections without delaying the whole class.