|
|
|
@@ -15,6 +15,8 @@ knitr::opts_chunk$set( |
|
|
|
) |
|
|
|
``` |
|
|
|
|
|
|
|
[gganimate]: https://github.com/thomasp85/gganimate#README |
|
|
|
|
|
|
|
# Tidy Animated Verbs |
|
|
|
|
|
|
|
Garrick Aden-Buie -- [@grrrck](https://twitter.com/grrrck) -- [garrickadenbuie.com](https://www.garrickadenbuie.com) |
|
|
|
@@ -26,6 +28,10 @@ Garrick Aden-Buie -- [@grrrck](https://twitter.com/grrrck) -- [garrickade |
|
|
|
|
|
|
|
- Filtering Joins: [`semi_join()`](#semi-join), [`anti_join()`](#anti-join) |
|
|
|
|
|
|
|
- Learn more about |
|
|
|
- [Relational Data](#relational-data) |
|
|
|
- [gganimate](#gganimate) |
|
|
|
|
|
|
|
## Mutate Joins |
|
|
|
|
|
|
|
```{r intial-dfs} |
|
|
|
@@ -123,3 +129,22 @@ source("R/anti_join.R") |
|
|
|
```{r echo=TRUE} |
|
|
|
anti_join(x, y, by = "id") |
|
|
|
``` |
|
|
|
|
|
|
|
## Learn More |
|
|
|
|
|
|
|
### Relational Data |
|
|
|
|
|
|
|
The [Relational Data](http://r4ds.had.co.nz/relation-data.html) chapter of the |
|
|
|
[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. |
|
|
|
|
|
|
|
The [dplyr two-table verbs vignette](https://dplyr.tidyverse.org/articles/two-table.html) |
|
|
|
and Jenny Bryan's [Cheatsheet for dplyr join functions](http://stat545.com/bit001_dplyr-cheatsheet.html) |
|
|
|
are also great resources. |
|
|
|
|
|
|
|
### gganimate |
|
|
|
|
|
|
|
The animations were made possible by the newly re-written [gganimate] package by |
|
|
|
[Thomas Lin Pedersen](https://github.com/thomasp85) |
|
|
|
(original by [Dave Robinson](https://github.com/dgrtwo)). |
|
|
|
The [package readme][gganimate] provides an excellent (and quick) introduction to gganimte. |