tidyr: Tidy Messy Data

Tools to help to create tidy data, where each column is a variable, each row is an observation, and each cell contains a single value. 'tidyr' contains tools for changing the shape (pivoting) and hierarchy (nesting and 'unnesting') of a dataset, turning deeply nested lists into rectangular data frames ('rectangling'), and extracting values out of string columns. It also includes tools for working with missing values (both implicit and explicit).

Package details

AuthorHadley Wickham [aut, cre], Davis Vaughan [aut], Maximilian Girlich [aut], Kevin Ushey [ctb], Posit Software, PBC [cph, fnd]
MaintainerHadley Wickham <hadley@posit.co>
LicenseMIT + file LICENSE
Version1.3.1
URL https://tidyr.tidyverse.org https://github.com/tidyverse/tidyr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("tidyr")

Try the tidyr package in your browser

Any scripts or data that you put into this service are public.

tidyr documentation built on June 24, 2024, 5:14 p.m.