Skip to content

5. Data tidying

Learning outcomes

For teachers

Teaching goals are:

Prior question:

  • .

Feedback questions:

  • .

Why tidy data is important

The dplyr logo

The Tidyverse assumes your data is tidy when working on it. And only when your data is tidy, things work smoothly.

The Tidyverse provides the tidyr package to help you tidy your data.

Exercises

Exercise 1

Answers

See the answers here

Note that the answers use chapter 6.