tidyr v0.3.0


Monthly downloads



by Hadley Wickham

Easily Tidy Data with `spread()` and `gather()` Functions

An evolution of 'reshape2'. It's designed specifically for data tidying (not general reshaping or aggregating) and works well with 'dplyr' data pipelines.

Functions in tidyr

Name Description
complete_ Standard-evaluation version of complete.
unite Unite multiple columns into one.
extract_ Standard-evaluation version of extract.
nest Nest repeated values in a list-varible.
nest_ Standard-evaluation version of nest.
unnest Unnest a list column.
expand Expand data frame to include all combinations of values
separate Separate one column into multiple columns.
spread Spread a key-value pair across multiple columns.
complete Complete a data frame with missing combinations of data.
extract_numeric Extract numeric component of variable.
separate_ Standard-evaluation version of separate.
%>% Pipe operator
unnest_ Standard-evaluation version of unnest.
unite_ Standard-evaluation version of unite
seq_range Create an evenly spaced sequence of values from highest to lowest.
gather_ Gather (standard-evaluation).
replace_na Replace missing values
gather Gather columns into key-value pairs.
fill Fill in missing values.
fill_ Standard-evaluation version of fill.
expand_ Expand (standard evaluation).
extract Extract one column into multiple columns.
spread_ Standard-evaluation version of spread.
No Results!

Last month downloads


License MIT + file LICENSE
LazyData true
URL https://github.com/hadley/tidyr
BugReports https://github.com/hadley/tidyr/issues
VignetteBuilder knitr
LinkingTo Rcpp
NeedsCompilation yes
Packaged 2015-09-07 22:33:26 UTC; hadley
Repository CRAN
Date/Publication 2015-09-08 08:08:44

Include our badge in your README