Pivoting data
module 4
week 6
long data
pivoting
tidy data
wide data
Tidy up your data into long or wide format
Tidy data is a specific form of data that let’s you apply formulas to your data for modeling or plotting. To make your data tidy, you may need to pivot it to a longer or wider format.
Learning objectives
- Recognize tidy data
- Pivot wide data longer
- Pivot long data wider
Pre-meeting
To prepare for this class meeting, please do the following:
- Read R4DS2 5
Class meeting
Homework after the class meeting
Wrap up this lesson
- Complete the exercises
For next class meeting
- Read R4DS1 12.4 - 12.5