Most of the data you’ll encounter won’t be tidy, and it will be your job to figure out how to make it tidy.
pivot_wider ( ) function converts non-tidy data into tidy data.
In this video, we will work on the Bald Eagle Nesting site data and use various features of pivot_longer ( ) function to convert the data into tidy format.
There are variety of arguments that go into pivot_longer ( ) function. In this video, we have touch upon the most important arguments that will cover most of the use-cases. You can find out more on pivot_longer ( ) function on tidyR package web-page:
https://tidyr.tidyverse.org/reference...
The data set and Rmarkdown file is available on the Github page:
https://github.com/siddharth-sahasrab...
The link to my previous video on "what is tidy data set" :
• tidyR Package | What is tidy data?