Data Transformation III
Week 12, Spring 2022
- Start: Monday, April 3
- End: Friday, April 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 |
|---|---|---|
| 12.1 - Factors | 12.1 - YouTube | 12.1 - ClassTranscribe |
| 12.2 - Dates and Times | 12.2 - YouTube | 12.2 - ClassTranscribe |
| 12.3 - Style | 12.3 - YouTube | 12.3 - ClassTranscribe |
Assignments
| Assignment | Deadline | Credit |
|---|---|---|
| Lab 07 | Thursday, April 6 | 100% |
| Quiz 07 | Thursday, April 6 | 105% |
| Lab 08 | Thursday, April 13 | 100% |
| Quiz 08 | Thursday, April 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
| Staff and Link | Day | Time |
|---|---|---|
| Zoom with Abdi | Tuesday | 11:00 AM - 12:00 PM |
| Zoom with Mallory | Wednesday | 9:00 AM - 10:00 AM |
| Zoom with Zhiyuan | Wednesday | 4:00 PM - 5:00 PM |
| Zoom with Dave | Wednesday | 5:00 PM - 7:00 PM |
| Zoom with Zhiyuan | Thursday | 9:00 AM - 10:00 AM |
| Zoom with Abdi | Thursday | 11:00 AM - 12:00 PM |
| Zoom with Mallory | Thursday | 1:15 PM - 2:15 PM |
| Discussion Forum | Any! | Any! |