Data wrangling: relational data and factors

Overview

  • Introduce relational data
  • Demonstrate how tables can be linked to one another
  • Demonstrate methods in dplyr for linking and merging related tables
  • Practice joining tables
  • Define factors
  • Demonstrate how to transform and reorder factors for visualizations
  • Practice transforming factors

Before class

  • Read Chapters 13, 15 from R for Data Science
    • Do not complete exercises 13.4.6.2-3 – we will be completing these as in-class exercises

Class materials

What you need to do after class

Benjamin Soltoff
Benjamin Soltoff
Lecturer in Information Science