by Hadley Wickham

Monthly downloads



License MIT + file LICENSE
LazyData true
URL http://tidyr.tidyverse.org, https://github.com/tidyverse/tidyr
BugReports https://github.com/tidyverse/tidyr/issues
Remotes RcppCore/Rcpp
VignetteBuilder knitr
LinkingTo Rcpp
RoxygenNote 5.0.1
NeedsCompilation yes
Packaged 2017-01-09 23:43:16 UTC; hadley
Repository CRAN
Date/Publication 2017-01-10 10:17:53

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.
Full Readme

Functions in tidyr

Name Description
expand Expand data frame to include all combinations of values
drop_na Drop rows containing missing values
extract_ Standard-evaluation version of extract.
fill_ Standard-evaluation version of fill.
complete_ Standard-evaluation version of complete.
complete Complete a data frame with missing combinations of data.
extract_numeric Extract numeric component of variable.
expand_ Expand (standard evaluation).
extract Extract one column into multiple columns.
drop_na_ Standard-evaluation version of drop_na.
gather_ Gather (standard-evaluation).
nest_ Standard-evaluation version of nest.
nest Nest repeated values in a list-variable.
gather Gather columns into key-value pairs.
%>% Pipe operator
fill Fill in missing values.
full_seq Create the full sequence of values in a vector.
replace_na Replace missing values
separate_ Standard-evaluation version of separate.
separate_rows_ Standard-evaluation version of separate_rows.
table1 Example tabular representations
spread Spread a key-value pair across multiple columns.
unnest Unnest a list column.
unnest_ Standard-evaluation version of unnest.
unite_ Standard-evaluation version of unite
spread_ Standard-evaluation version of spread.
smiths Some data about the Smith family.
unite Unite multiple columns into one.
separate_rows Separate a collapsed column into multiple rows.
separate Separate one column into multiple columns.
who World Health Organization TB data
No Results!


Get your badge !