Lesson 4: Wrangling data with dplyr

 

Functions for Lesson 4
is.na, arrange, select, mutate
 

Packages for Lesson 4
dplyr
 

Agenda

Data visualisation in R for Data Science, Section 5.2.3.
 

  • Continue where we left off last time with more functions from the dplyr package. You'll use these functions to help wrangle data.

Do First

  1. Use the nycflights13 data set and identify the flights that arrived more than 30 minutes late.

 

  1. Identify flights that departed between midnight and 5am (inclusive).

 

Tidying

5.2.3 Missing values

Exercises

  • 5.3.1 - arrange
  • 5.4.1 - select
  • 5.5.2 - mutate