Merging columns

module 4
week 6
columns
join
merge
mutating joins
Merge columns with mutating joins
Author

Jeff Stevens

Published

March 1, 2023

Often, we have data spread across multiple data sets that need to be merged into a single data set. We’ll do this in a way that merges columns using mutating join functions from {dplyr}.

Learning objectives

  • Understand the concept of a key column
  • Conduct inner joins
  • Conduct outer joins

Pre-meeting

To prepare for this class meeting, please do the following:

Class meeting

  • Introduce merging data
  • Key columns
  • inner_join()
  • full_join()
  • left_join()
  • right_join()
  • Slides and Code

Homework after the class meeting

Wrap up this lesson

For next class meeting