This repository contains the materials for a presentation on the tidyverse
, provided by DIME Analytics. The tidyverse
is a collection of R packages designed for data science that makes it easier to import, tidy, transform, visualize, and model data. This presentation was largely inspired by the works of Florian Oswald and Mylene Feuillade.
The presentation walks through the tidy data workflow, demonstrating the use of tidyr
and dplyr
for data manipulation and ggplot2
for data visualization. Each step is clearly explained with examples and the rationale behind each action.
The presentation follows the following structure.
- Introduction
- Tidy Workflow
- Tidy Verbs
- Data Visualization
- Conclusion and References
You can find the R scripts used for the examples shown in the presentation in the example
folder. These scripts provide a hands-on approach to understand how tidyverse
functions can be applied to real-world data.
The presentation draws upon a wealth of resources:
-
The original slides by Florian Oswald and Mylene Feuillade are available here and the GitHub repository here.
-
Hadley Wickham's chapter on data transformation is a must-read for anyone working with
tidyverse
. Access the chapter here. -
The dplyr cheatsheet can be found here and the tidyr cheatsheet here.
-
A gentle introduction to ggplot2 by Garrick Aden-Buie is available here.
-
For a variety of examples and inspiration, visit the R Graph Gallery here.
-
For more illustrations and understanding, check out the work by Allison Horst here
We hope you find this presentation helpful for your journey into the world of R and the tidyverse
. Happy coding!