# tidyr

> Tidyverse package for reshaping R data into tidy form: pivoting, nesting and rectangling

Source: https://talira.ai/catalog/tidyr-yzfdn0xx
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [data / dataframes](https://talira.ai/categories/data/dataframes)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Posit](https://talira.ai/orgs/posit.md)
- Creator: Hadley Wickham

tidyr is the tidyverse's R package for making data tidy, where each variable is a column, each observation a row and each value a cell. It pivots data between long and wide forms (pivot_longer, pivot_wider), turns deeply nested lists such as parsed JSON into tidy tibbles (unnest_longer, unnest_wider, hoist), nests and unnests grouped data, splits and combines character columns (separate_wider_delim, unite), and handles missing values (complete, drop_na, fill, replace_na). It supersedes reshape2 and reshape, and Posit funds it.

## Links

- Website: https://tidyr.tidyverse.org/
- GitHub: https://github.com/tidyverse/tidyr
- Docs: https://tidyr.tidyverse.org/reference/

## Problems it solves

- convert a data frame from wide to long format in R
- pivot long data into wide columns in R
- turn nested JSON lists into a tidy data frame in R
- split one text column into several columns in R
- fill in missing values or make implicit missing rows explicit in R

## Features

- pivot_longer and pivot_wider
- Rectangling nested lists into tibbles
- nest and unnest
- separate_wider_delim, separate_wider_position, separate_wider_regex and unite
- complete, drop_na, fill and replace_na for missing values

## Trust

Overall: 0.41 out of 1.
Signals: maintenance 0.27, adoption 0.63, momentum 0.31, community 0.86, backing 0.50, extensibility 0.00.

- latest release v1.3.2 10 months ago
- 1.4k GitHub stars
- 140 contributors
- backed by Posit
- created by Hadley Wickham

Warnings:

- last commit 6 months ago

## Related

- Works with [dplyr](https://talira.ai/catalog/dplyr-h5gzx0hq.md)

## Sources

[^1]: https://github.com/tidyverse/tidyr/blob/main/LICENSE.md (checked 26 Nov 2026)
