Pivoting datasets | Data untangled: transforming and cleaning data with R (lesson 7)

Опубликовано: 17 Май 2026
на канале: The GRAPH Courses
465
9

👋 LESSON MATERIALS 🛑

Get the data, scripts, PDF notes and quizzes for this lesson from our website:
https://thegraphcourses.org/courses/d...

If this is your first time coding along with us, watch this quick video to see how it works:    • How to practice along with the lesson videos  

Chapters:
00:00 Intro
1:17 What do wide and long mean
6:33 Pivoting wide to long
12:29 Pivoting long to wide
18:05 Why is long data better for analysis?
26:28 Wrap up

Learning Objectives:
1. You will understand what wide data format is, and what long data format is.
2. You will know how to pivot long data to wide data using pivot_long()
3. You will know how to pivot wide data to long data using pivot_wider()
4. You will understand why the long data format is easier for plotting and wrangling in R.

----------------

And follow us on social media to get the latest updates!
Twitter:   / thegraphnetwork  
LinkedIn:   / the-graph-network