Even if we only consider tabular data, there are still many different ways to format this data. The packages in the Tidyverse expect that data is represented as so-called “tidy data”1 (which is where the name Tidyverse comes from). The tidyr package helps you with formatting your data into tidy data.
Tidy Data
The fundamental properties that characterize tidy data are that each variable is in a column, and each observation is in a row. The terms like variables and observations should be familiar ...