remotes::install_github("seungho-an/TPDdata")Summarizing Relationships, Tidying and Joining Data
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
- We will also use data from the
nycflights13package that you can install with:
install.packages("nycflights13")Slides and Code
Summarizing relationships, writing our own functions, causality review, pivoting longer, joining data
- PDF slides
- PDF handout version (no incremental slides)
- Code:
covid_votes.Rmd - Code:
lecture-05.Rmd