Data Transformation III

Week 11, Spring 2022

Summary

This week we will attempt to accomplish two things:

  1. Introduce a few additional concepts that could be useful later for final projects.
  2. Begin practicing for Exam 02!

Learning Objectives

After completing this week, you are expected to be able to:

  • Use and transform strings using the stringr package.
  • Use and transform factors using the forcats package.
  • Use and transform dates and times using the lubridate package.

Reading

Link Source
Strings R4DS
Regular Expressions R4DS
Factors R4DS
Dates and Times R4DS

Cheatsheets

Link Source
ggplot2 RStudio Cheatsheets
dplyr RStudio Cheatsheets
readr RStudio Cheatsheets
tidyr RStudio Cheatsheets
stringr RStudio Cheatsheets
forcats RStudio Cheatsheets
lubridate RStudio Cheatsheets

Video

Title Link Mirror
11.1 - Factors 11.1 - YouTube 11.1 - ClassTranscribe
11.2 - Dates and Times 11.2 - YouTube 11.2 - ClassTranscribe
11.3 - Style 11.3 - YouTube 11.3 - ClassTranscribe

Assignments

Assignment Deadline Credit
Lab 08 Thursday, November 10 100%
Quiz 08 Thursday, November 10 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 Monday 4:00 PM - 6:00 PM
Zoom with David Monday 7:00 PM - 8:00 PM
Zoom with David Tuesday 7:00 PM - 8:00 PM
Zoom with Christina Wednesday 9:00 AM - 10:00 AM
Zoom with Zhiyuan Wednesday 2:30 PM - 4:30 PM
Zoom with David Wednesday 7:00 PM - 8:00 PM
Zoom with Jonas Thursday 6:00 PM - 8:00 PM
Discussion Forum Any! Any!