Athlete Monitoring: Data Analysis and Visualization
Data Wrangling in R – Part 1
In this video we are beginning to do some data wrangling in R. I am explaining how to convert wide format to long format using pivot_longer() and vice versa using pivot_wider(). These data wrangling techniques are very important, but very hard to do in Excel (although possible in PowerQuery and now PowerBI).
Besides these wrangling techniques, I am introducing the %>% operator (read pipe) which allows step-wise operations on the data to be more more readable and without the need for the intermediate variables.
For more information on data wrangling using tidyverse, check: