PivotingPivoting changes the representation of a rectangular dataset, without changing the data inside of it. See |
|
---|---|
Pivot data from wide to long |
|
Pivot data from long to wide |
|
RectanglingRectangling turns deeply nested lists into tidy tibbles. See |
|
Unnest a list-column into rows |
|
Unnest a list-column into columns |
|
Unnest a list-column of data frames into rows and columns |
|
Hoist values out of list-columns |
|
Character vectorsMultiple variables are sometimes pasted together into a single column, and these tools help you separate back out into individual columns. |
|
Split a string into rows |
|
|
Split a string into columns |
Unite multiple columns into one by pasting strings together |
|
Missing valuesTools for converting between implicit (absent rows) and explicit ( |
|
Complete a data frame with missing combinations of data |
|
Drop rows containing missing values |
|
Expand data frame to include all possible combinations of values |
|
Create a tibble from all combinations of inputs |
|
Fill in missing values with previous or next value |
|
Create the full sequence of values in a vector |
|
Replace NAs with specified values |
|
Miscellanea |
|
Chop and unchop |
|
Pack and unpack |
|
"Uncount" a data frame |
|
Nest rows into a list-column of data frames |
|
Data |
|
Song rankings for Billboard top 100 in the year 2000 |
|
Data from the Centers for Medicare & Medicaid Services |
|
Completed construction in the US in 2018 |
|
Fish encounters |
|
Household data |
|
Pew religion and income survey |
|
Some data about the Smith family |
|
Example tabular representations |
|
US rent and income data |
|
World Health Organization TB data |
|
Population data from the World Bank |
|
SupersededSuperseded functions have been replaced by superior solutions, but due to their widespread use will not go away. However, they will not get any new features and will only receive critical bug fixes. |
|
Extract a character column into multiple columns using regular expression groups |
|
Separate a character column into multiple columns with a regular expression or numeric locations |
|
Separate a collapsed column into multiple rows |
|
Spread a key-value pair across multiple columns |
|
Gather columns into key-value pairs |
|