Tidy data

pivot_wider()

{tidyr}

pivot data frame to be wider

pivot_longer()

{tidyr}

pivot data frame to be longer

separate()

{tidyr}

split single column into multiple columns

expand()

{tidyr}

expand data frame to include all possible combinations of values

nesting()

{tidyr}

expand data frame to include combinations of values present in data

complete()

{tidyr}

complete a data frame with missing combinations of data

unite()

{tidyr}

combine multiple columns into single column

coalesce()

{dplyr}

combine vectors by returning the first non-missing value at each position

The end!