Reshaping and Joining Data in R with dplyr

This is the website for the workshop “Reshaping and Joining Data in R with dplyr” offered by JHU Sheridan Libraries Data Services every semester.

The dplyr package is a popular R package that people often use to manipulate and join datasets. Join JHU Data Services for this workshop and you will learn to use several functions, including  mutate(),  filter(),  select(),  summarize() and  group_by(), in dplyr to manipulate data for the first half of the workshop. For the second part of this workshop, you will learn the join functions (e.g.  left_join(),  right_join(),  inner_join(),  semi_join(),  anti_join(),  full_join(),  bind_rows() and bind_cols()) and set operations (e.g. union(), intersect() and setdiff()) in dplyr to combine two datasets.

dplyr Resources

All materials on this site are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0), attributable to Data Services, Johns Hopkins University.