Objectives


Related to: Data Computing, “Wrangling and Data Verbs”, Ch. 7; “More Data Verbs”, Ch. 9

<– Back to Table of Contents

dplyr: R’s Swiss Army Knife

We’re going to look now at one of R’s handiest libraries for cleaning, sorting, shaping, filtering, and just generally “wrangling” your data: dplyr! The dplyr library offers you a bunch of different functions for slicing and processing your data into formats that are easier for you to work with. You can think of it like a “Swiss army knife” of data management in R: it has lot of different tools that let you cut up, slice up, and reshape your data in different ways.