Wrangle yourself some data!
Your data is a scrambled Rubik’s Cube, and tidyr & dplyr are your hands.
Today’s R Club will start with tutorials on some of Hadley Wickham’s amazing packages (bolded, below), with some time at the end to workshop your own data. So: if you’ve got data to wrangle, bring it!
tidyr, “designed specifically for data tidying”
- Data Wrangling Cheat Sheet (pdf)
- Hadley Wickham’s informal and formal treatises on tidy data
- Data Tidying (great graphical explanations)
dplyr, “A fast, consistent tool for working with data frame like objects”
- dplyr vignette
- Data Manipulation in R with dplyr by Data Camp
magrittr, “Ceci n’est pas un pipe.”
- See the GitHub Readme for more info on the syntax augmentations for the above packages.
Putting it all together
- A new data processing workflow for R (awesome case study)
- The data for this case study