Tidyverse overview

What is tidyverse?

R packages allow you to use additional functions that are not pre-programmed as part of base R.

The tidyverse package is a package of packages that allows users to load in common packages quickly, rather than one at a time.

Source: Tidyverse data wrangling

The tidyverse is a toolkit for the everyday tasks of working with data. Each package that comes with tidyverse is a set of tools:

  • readr: reading data into R
  • dplyr: choosing rows and columns, creating new variables, and summarising
  • tidyr: reshaping data
  • forcats: working with categorical variables
  • stringr: working with text
  • lubridate: working with dates and times
  • ggplot2: making plots

In this workshop we will mostly use readr, dplyr, tidyr and forcats. Future workshops will focus on visulization with ggplot.

There are many free resources for tidyverse! Posit provides one-page cheat sheets for most tidyverse packages.

There are other UBC Library workshops that might be of interest and are related to this one:


View in GitHub

Loading last updated date...