All functions

billboard

Song rankings for billboard top 100 in the year 2000

chop() unchop()

Chop and unchop

complete()

Complete a data frame with missing combinations of data

construction

Completed construction in the US in 2018

drop_na()

Drop rows containing missing values

expand() crossing() nesting()

Expand data frame to include all combinations of values

expand_grid()

Create a tibble from all combinations of inputs

extract()

Extract a character column into multiple columns using regular expression groups

fill()

Fill in missing values with previous or next value

fish_encounters

Fish encounters

full_seq()

Create the full sequence of values in a vector

gather()

Gather columns into key-value pairs

hoist() unnest_longer() unnest_wider() unnest_auto()

Rectangle a nested list into a tidy tibble

nest() unnest()

Nest and unnest

nest_legacy() unnest_legacy()

Legacy versions of nest() and unnest()

pack() unpack()

Pack and unpack

pivot_longer()

Pivot data from wide to long

pivot_wider()

Pivot data from long to wide

relig_income

Pew religion and income survey

replace_na()

Replace missing values

separate()

Separate a character column into multiple columns using a regular expression separator

separate_rows()

Separate a collapsed column into multiple rows

smiths

Some data about the Smith family

spread()

Spread a key-value pair across multiple columns

table1 table2 table3 table4a table4b table5

Example tabular representations

uncount()

"Uncount" a data frame

unite()

Unite multiple columns into one by pasting strings together

us_rent_income

US rent and income data

who population

World Health Organization TB data

world_bank_pop

Population data from the world bank