What is tidyverse?

Tidyverse is a package that includes multiple libraries which all operate with similar syntax and are compatible with each other. It provides a wide range of functions and is therefore widely used.

The tidyverse
The tidyverse

Tidyverse includes core packages, all of which can be loaded with the command library("tidyverse"). These are:

  • dplyr (Data manipulation)

  • tidyr (Data tidying)

  • ggplot2 (Graphics)

  • stringr (String manipulation)

  • forcats (Factor handling)

  • tibble (Table tool)

  • readr (Data import)

  • purrr (Function and vector handling)

Throughout this learning block, you will get to know dplyr and tidyr!

The core tidyverse
The core tidyverse

There are extensive documentations available for all tidyverse libraries as well as short cheat sheets. You can find the cheat sheets for the two libraries presented here:

Cheat-Sheet
Cheat-Sheet

dplyr includes a grammar for performing data manipulations. It stands out for its simplicity and the ability to combine basic commands. This is usually helpful for initial data exploration or restructuring (manipulating) data.

tidyr includes a grammar for reshaping datasets into a tidy format. The goal is to have each column represent a variable, each row an observation, and each cell a value. Here is the link for tidyr.

Now you can start with dplyr!