Data Transformations and Summaries

Alice Paul · 2025

This chapter delves into the dplyr package, a core component of the tidyverse ecosystem, to enhance data exploration and transformation. It begins by demonstrating fundamental data manipulations, including selecting specific columns and filtering rows based on one or more conditions. Next, the chapter explores updating data by renaming columns, creating new variables, and arranging rows. Finally, the chapter introduces methods for grouping data and calculating summary statistics. Readers learn to streamline workflows by combining multiple operations using the pipe operator, creating clear and efficient code.

Read the paper · More papers on PaperTik