The {tidyverse} Package
Tidyverse is a library you can load that is actually a collection of many R packages. This group of packages is designed to make data analysis easier and more intuitive. Tidyverse includes tools for importing, cleaning, and transforming data to make it “tidy”. It also includes other packages, including {ggplot2}, which we used in Workshop 3. For more on what is meant by “tidy data” you can see the tidy data page of Data@Reed.

Tidyverse includes the following packages, which automatically load when you run library(tidyverse):
ggplot2: for visualizing data
dplyr: for data manipulation
readr: for loading in your data
tibble: for making your datasets easy to work with
tidyr: for help with wrangling data
stringr: for identifying and changing string data (character data)
forcats: for the creation of easy to use factors (variables)
purrr: for making functions work with your datasets
lubridate: for working with dates and times
Loading {tidyverse} is often the first step for many scripts. For the code you’ll be using within this document, library(tidyverse) has already been run in the background.
