Data Challenge Lab Home

Basic pivoting [wrangle]

(Builds on: Tidy data)
(Leads to: Advanced pivoting)

Much of the data you’ll encounter won’t be tidy, and it will be your task to tidy it. tidyr’s pivot functions, pivot_longer() and pivot_wider() will be two of the most important tools in your tidying toolbox.

Readings