Data Transformation III
Week 11, Fall 2025
- Start: Monday, November 3
- End: Friday, November 7
Summary
This week we will attempt to accomplish two things:
- Introduce a few additional concepts that could be useful later for final projects.
- Begin practicing for Exam 02!
Learning Objectives
After completing this week, you are expected to be able to:
- Use and transform strings using the
stringrpackage. - Use and transform factors using the
forcatspackage. - Use and transform dates and times using the
lubridatepackage.
Reading
| Link | Source |
|---|---|
| Strings | R4DS |
| Regular Expressions | R4DS |
| Factors | R4DS |
| Dates and Times | R4DS |
Cheatsheets
| Link | Source |
|---|---|
ggplot2 |
Posit Cheatsheets |
dplyr |
Posit Cheatsheets |
readr |
Posit Cheatsheets |
tidyr |
Posit Cheatsheets |
stringr |
Posit Cheatsheets |
forcats |
Posit Cheatsheets |
lubridate |
Posit Cheatsheets |
Data
Video
| Title | Link | Mirror |
|---|---|---|
| 11.1 - Welcome to Week 11 | 11.1 - YouTube | 11.1 - ClassTranscribe |
| 11.2 - Factors | 11.2 - YouTube | 11.2 - ClassTranscribe |
| 11.3 - Dates and Times | 11.3 - YouTube | 11.3 - ClassTranscribe |
Here is the one and only David Dalpiaz to talk about code style:
| Title | Link |
|---|---|
| 11.4 - Style | 11.4 - YouTube |
Assignments
| Assignment | Deadline | Credit |
|---|---|---|
| Lab 07 | Thursday, November 6 | 100% |
| Quiz 07 | Thursday, November 6 | 105% |
| Lab 08 | Thursday, November 13 | 100% |
| Quiz 08 | Thursday, November 13 | 105% |
Starting this week, we will post a short practice “quiz” each weekday. These are optional (but highly recommended) opportunities to practice for the upcoming exam!
Office Hours
See Syllabus!