Day 3 — Wednesday, January 11th, 2023
Wednesday January 11th
- 1:30-2:00 Lecture: R Projects
- 2:00-2:50 Lecture: Intro to dplyr
- 2:50-3:10 Activity: Work on dplyr learnr tutorial in groups
- 3:10-3:15 Break
- 3:15-3:45 Lecture: Cleaning Text Data
- 3:45-4:10 Lecture: Writing Functions
- 4:10-4:30 Activity: Write functions together
- 4:30-4:45 Activity: Discussion Q&A from ggplot2 Homework
- 4:45-4:55 Survey: Checking in on Pacing
- 4:55-5:10 Demonstration of how to do the homework
- 5:10-5:30 Time to work on homework, chat with classmates, peruse recommended materials
Recommended reading:
- On Projects:
- Tidyverse Blog, Project-Oriented Workflow by Jenny Bryan: https://www.tidyverse.org/blog/2017/12/workflow-vs-script/
- R for Data Science, Chapter 8: https://r4ds.had.co.nz/workflow-projects.html
- Project-Oriented Workflow, Jenny Bryan https://www.tidyverse.org/blog/2017/12/workflow-vs-script/
- On dplyr, cleaning text, and writing functions
- R for Data Science, Chapter 5 Data Transformation: https://r4ds.had.co.nz/transform.html
- R for Data Science, Chapter 14 Strings: https://r4ds.had.co.nz/strings.html
- R for Data Science, Chapter 19 Functions: https://r4ds.had.co.nz/functions.html
Homework:
- No homework
Video Recording
Resources
link to daily google doc
link to PDF slides
Lecture 1: Projects in RStudio
link to view slides fullscreen
Lecture 2: Intro to dplyr
link to view slides fullscreen
Lecture 4: Cleaning Text Data
link to view slides fullscreen
Lecture 5: Functions
link to view slides fullscreen