tidyr: Easily Tidy Data with 'spread()' and 'gather()' Functions
Version 0.6.3

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

AuthorHadley Wickham [aut, cre], RStudio [cph]
Date of publication2017-05-15 18:08:39 UTC
MaintainerHadley Wickham <hadley@rstudio.com>
LicenseMIT + file LICENSE
Version0.6.3
URL http://tidyr.tidyverse.org https://github.com/tidyverse/tidyr
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("tidyr")

Getting started

Package overview
README.md
Tidy data

Popular man pages

expand: Expand data frame to include all combinations of values
gather: Gather columns into key-value pairs.
replace_na: Replace missing values
separate: Separate one column into multiple columns.
spread: Spread a key-value pair across multiple columns.
unite: Unite multiple columns into one.
unnest: Unnest a list column.
See all...

All man pages Function index File listing

Man pages

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

Functions

\%>\% Man page
all_identical Source code
append_col Source code
append_df Source code
as_data_frame_matrix Source code
col_name Source code
col_names Source code
compact Source code
complete Man page Source code
complete_ Man page Source code
complete_.data.frame Source code
complete_.grouped_df Source code
cross_df Source code
crossing Man page Source code
crossing_ Man page Source code
drop_empty Source code
drop_na Man page Source code
drop_na_ Man page Source code
drop_na_.data.frame Source code
drop_na_.grouped_df Source code
drop_na_.tbl_df Source code
enframe Source code
everything Source code
expand Man page Source code
expand_ Man page Source code
expand_.data.frame Source code
expand_.grouped_df Source code
expand_.tbl_df Source code
extract Man page Source code
extract_ Man page Source code
extract_.data.frame Source code
extract_.grouped_df Source code
extract_.tbl_df Source code
extract_numeric Man page Source code
fill Man page Source code
fillDown Source code
fillUp Source code
fill_ Man page Source code
fill_.data.frame Source code
fill_.grouped_df Source code
full_seq Man page Source code
full_seq.Date Source code
full_seq.POSIXct Source code
full_seq.numeric Source code
gather Man page Source code
gather_ Man page Source code
gather_.data.frame Source code
gather_.grouped_df Source code
gather_.tbl_df Source code
id Source code
id_col Source code
id_var Source code
is_numeric Source code
list_col_type Source code
list_indices Source code
melt_dataframe Source code
n_dots Source code
nest Man page Source code
nest_ Man page Source code
nest_.data.frame Source code
nest_.grouped_df Source code
nest_.tbl_df Source code
nest_impl Source code
nesting Man page Source code
nesting_ Man page Source code
normalize_melt_arguments Source code
population Man page
regroup Source code
replace_na Man page Source code
replace_na.data.frame Source code
replace_na.tbl_df Source code
restore Source code
separate Man page Source code
separate_ Man page Source code
separate_.data.frame Source code
separate_.grouped_df Source code
separate_.tbl_df Source code
separate_rows Man page Source code
separate_rows_ Man page Source code
separate_rows_.data.frame Source code
separate_rows_.grouped_df Source code
separate_rows_.tbl_df Source code
simplifyPieces Source code
smiths Man page
split_labels Source code
spread Man page Source code
spread_ Man page Source code
spread_.data.frame Source code
spread_.grouped_df Source code
spread_.tbl_df Source code
str_split_fixed Source code
strsep Source code
table1 Man page
table2 Man page
table3 Man page
table4a Man page
table4b Man page
table5 Man page
tidyr Man page
tidyr-package Man page
ulevels Source code
unite Man page Source code
unite_ Man page Source code
unite_.data.frame Source code
unite_.grouped_df Source code
unite_.tbl_df Source code
unnest Man page Source code
unnest_ Man page Source code
unnest_.data.frame Source code
unnest_.grouped_df Source code
unnest_.tbl_df Source code
who Man page

Files

inst
inst/doc
inst/doc/tidy-data.Rmd
inst/doc/tidy-data.html
inst/doc/tidy-data.R
tests
tests/testthat.R
tests/testthat
tests/testthat/test-unite.R
tests/testthat/test-spread.R
tests/testthat/test-unnest.R
tests/testthat/test-fill.R
tests/testthat/test-id.R
tests/testthat/test-replace_na.R
tests/testthat/test-drop_na.R
tests/testthat/test-full_seq.R
tests/testthat/test-complete.R
tests/testthat/test-nest.R
tests/testthat/test-separate.R
tests/testthat/test-extract.R
tests/testthat/test-expand.R
tests/testthat/test-gather.R
src
src/simplifyPieces.cpp
src/melt.cpp
src/fill.cpp
src/init.c
src/RcppExports.cpp
NAMESPACE
demo
demo/so-9684671.R
demo/so-17481212.R
demo/dadmom.R
demo/so-15668870.R
demo/00Index
demo/so-16032858.R
NEWS.md
data
data/smiths.rda
data/population.rdata
data/table4a.rdata
data/table2.rdata
data/table1.rdata
data/who.rdata
data/table5.rdata
data/table4b.rdata
data/table3.rdata
R
R/utils.R
R/seq.R
R/fill.R
R/unnest.R
R/replace_na.R
R/unite.R
R/separate-rows.R
R/drop_na.r
R/nest.R
R/tidyr.R
R/data.R
R/RcppExports.R
R/id.R
R/spread.R
R/extract.R
R/expand.R
R/complete.R
R/gather.R
R/separate.R
vignettes
vignettes/preg2.csv
vignettes/billboard.csv
vignettes/tb.csv
vignettes/weather.csv
vignettes/preg.csv
vignettes/tidy-data.Rmd
vignettes/pew.csv
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/who.Rd
man/figures
man/figures/logo.png
man/pipe.Rd
man/smiths.Rd
man/table1.Rd
man/complete.Rd
man/unnest_.Rd
man/extract_.Rd
man/separate_.Rd
man/tidyr-package.Rd
man/nest.Rd
man/complete_.Rd
man/nest_.Rd
man/drop_na_.Rd
man/replace_na.Rd
man/extract_numeric.Rd
man/separate.Rd
man/gather.Rd
man/gather_.Rd
man/drop_na.Rd
man/unnest.Rd
man/separate_rows.Rd
man/full_seq.Rd
man/separate_rows_.Rd
man/fill_.Rd
man/spread_.Rd
man/expand_.Rd
man/fill.Rd
man/unite.Rd
man/expand.Rd
man/unite_.Rd
man/extract.Rd
man/spread.Rd
LICENSE
tidyr documentation built on May 19, 2017, 7:50 a.m.