Skip to main content

Cleaning & Wrangling Data

tidyverse functions for cleaning, reshaping, and summarizing data, including pipes, mutate, pivoting, and the split-apply-combine strategy.
tidyverse
data-wrangling
lecture
intermediate
LearningLearning Objectives

After completing this session, you will be able to:

  • Identify some common dplyr and tidyr functions
  • Define “namespace” in the context of R functions
  • Explain how the pipe operator (%>%) can be used to streamline code operations
  • Paraphrase how mutate() can be used to do quality control operations
  • Explain what “shape” means in the context of data and how data of one shape can be converted to another
  • Describe how defensive coding strategies benefit you in the long run and how rename() is a good example of such strategies
  • Explain how group_by() and summarize() relate to the “Split-Apply-Combine” strategy