Skip to content
What's New in R is a weekly email to help you up your R game. Sign up →
R for the Rest of Us Logo

Data Cleaning with R

Pivoting Data

Transcript

Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Your Turn

  • Load the dog ranks data ("dogranks_your.csv")

  • Pivot the data (wide to long and back to wide)

Learn More

The tidyr pivoting vignette is a great place to start to learn more about pivoting your data. Two other sources that have information on pivoting are cmdlinetips.com and Storybench.

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.