|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
[gganimate]: https://github.com/thomasp85/gganimate#README |
|
|
[gganimate]: https://github.com/thomasp85/gganimate#README |
|
|
|
|
|
[dplyr-two-table]: https://dplyr.tidyverse.org/articles/two-table.html |
|
|
|
|
|
|
|
|
# Tidy Animated Verbs |
|
|
# Tidy Animated Verbs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Learn more about |
|
|
- Learn more about |
|
|
- [Relational Data](#relational-data) |
|
|
- [Relational Data](#relational-data) |
|
|
- [gganimate](#gganimate) |
|
|
- [gganimate](#gganimate) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Please feel free to use these images for teaching or learning about action verbs from the [tidyverse](https://tidyverse.org). |
|
|
|
|
|
You can directly download the [original animations](images/) or static images in [svg](images/svg/) or [png](images/png/) formats, or you can use the [scripts](R/) to recreate the images locally. |
|
|
|
|
|
|
|
|
|
|
|
Currently, the animations cover the [dplyr two-table verbs][dplyr-two-table] and I'd like to expand the animations to include more verbs from the tidyverse. |
|
|
|
|
|
[Suggestions are welcome!](https://github.com/gadenbuie/tidy-animated-verbs/issues) |
|
|
|
|
|
|
|
|
## Mutating Joins |
|
|
## Mutating Joins |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ggsave(g, file = here::here("images/original-dfs.png")) |
|
|
ggsave(g, file = here::here("images/original-dfs.png")) |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
<img src="images/original-dfs.png" width="480px" /> |
|
|
|
|
|
|
|
|
<img src="images/static/png/original-dfs.png" width="480px" /> |
|
|
|
|
|
|
|
|
```{r echo=TRUE} |
|
|
```{r echo=TRUE} |
|
|
x |
|
|
x |
|
|
|
|
|
|
|
|
[R for Data Science](http://r4ds.had.co.nz/) book by Garrett Grolemund and Hadley Wickham |
|
|
[R for Data Science](http://r4ds.had.co.nz/) book by Garrett Grolemund and Hadley Wickham |
|
|
is an excellent resource for learning more about relational data. |
|
|
is an excellent resource for learning more about relational data. |
|
|
|
|
|
|
|
|
The [dplyr two-table verbs vignette](https://dplyr.tidyverse.org/articles/two-table.html) |
|
|
|
|
|
|
|
|
The [dplyr two-table verbs vignette][dplyr-two-table] |
|
|
and Jenny Bryan's [Cheatsheet for dplyr join functions](http://stat545.com/bit001_dplyr-cheatsheet.html) |
|
|
and Jenny Bryan's [Cheatsheet for dplyr join functions](http://stat545.com/bit001_dplyr-cheatsheet.html) |
|
|
are also great resources. |
|
|
are also great resources. |
|
|
|
|
|
|