

tidyr
Tidy Messy Data
tidyr is an R package for creating tidy data, where each variable is a column, each observation is a row, and each value is a cell. This standardized data structure is used throughout the tidyverse ecosystem and reduces time spent reformatting data during analysis.
The package provides five main categories of functions: pivoting between long and wide formats (pivot_longer(), pivot_wider()), rectangling nested lists like JSON into tibbles, nesting and unnesting grouped data frames, splitting and combining character columns, and handling missing values. It supersedes the older reshape and reshape2 packages with a focused design specifically for data tidying rather than general reshaping or aggregation.
Contributors

Hadley Wickham
Chief Scientific Officer

Davis Vaughan
Principal Software Engineer

Lionel Henry
Senior Software Engineer

Jenny Bryan
Senior Software Engineer

Mine Çetinkaya-Rundel
Senior Developer Advocate

Julia Silge
Engineering Manager

Gábor Csárdi
Senior Software Engineer

Thomas Lin Pedersen
Senior Software Engineer

Christophe Dervieux
Senior Software Engineer

Jeroen Janssens
Head of Developer Relations

