Summarizing Relationships, Tidying and Joining Data

Published

March 29, 2023

Readings

  • For summarizing relationships, see QSS 3.6 and MD 5.1.1.
  • For pivoting and tidy data, see MD Ch 4.
  • For more on joins, see the chapter 20 in R for Data Science.

Data

  • Reinstall the TPDstat data package if the current package does not have the dataset(s) from the lecture
remotes::install_github("seungho-an/TPDdata")
  • We will also use data from the nycflights13 package that you can install with:
install.packages("nycflights13")

Slides and Code