Преглед изворни кода

Re-order sections (background/learning up top)

pull/8/head
Garrick Aden-Buie пре 7 година
родитељ
комит
4304ec6568
2 измењених фајлова са 48 додато и 43 уклоњено
  1. +21
    -19
      README.Rmd
  2. +27
    -24
      README.md

+ 21
- 19
README.Rmd Прегледај датотеку

- [**Tidy Data**](#tidy-data) — [`spread()` and `gather()`](#spread-and-gather) - [**Tidy Data**](#tidy-data) — [`spread()` and `gather()`](#spread-and-gather)


- Learn more about - Learn more about
- [Using the animations and images](#usage)
- [Relational Data](#relational-data) - [Relational Data](#relational-data)
- [gganimate](#gganimate) - [gganimate](#gganimate)
## Background

### Usage


Please feel free to use these images for teaching or learning about action verbs from the [tidyverse](https://tidyverse.org). 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/static/svg/) or [png](images/static/png/) formats, or you can use the [scripts](R/) to recreate the images locally. You can directly download the [original animations](images/) or static images in [svg](images/static/svg/) or [png](images/static/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. 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) [Suggestions are welcome!](https://github.com/gadenbuie/tidy-animated-verbs/issues)


### 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][dplyr-two-table]
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.

## Mutating Joins ## Mutating Joins


```{r intial-dfs} ```{r intial-dfs}
gather(wide, key, val, x:z) gather(wide, key, val, x:z)
spread(long, key, val) spread(long, key, val)
``` ```

## 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][dplyr-two-table]
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.

+ 27
- 24
README.md Прегледај датотеку



- Learn more about - Learn more about
- [Using the animations and images](#usage)
- [Relational Data](#relational-data) - [Relational Data](#relational-data)
- [gganimate](#gganimate) - [gganimate](#gganimate)


## Background

### Usage

Please feel free to use these images for teaching or learning about Please feel free to use these images for teaching or learning about
action verbs from the [tidyverse](https://tidyverse.org). You can action verbs from the [tidyverse](https://tidyverse.org). You can
directly download the [original animations](images/) or static images in directly download the [original animations](images/) or static images in
[Suggestions are [Suggestions are
welcome\!](https://github.com/gadenbuie/tidy-animated-verbs/issues) welcome\!](https://github.com/gadenbuie/tidy-animated-verbs/issues)


### 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](https://github.com/thomasp85/gganimate#README) package by
[Thomas Lin Pedersen](https://github.com/thomasp85) (original by [Dave
Robinson](https://github.com/dgrtwo)). The [package
readme](https://github.com/thomasp85/gganimate#README) provides an
excellent (and quick) introduction to gganimte.

## Mutating Joins ## Mutating Joins


<img src="images/static/png/original-dfs.png" width="480px" /> <img src="images/static/png/original-dfs.png" width="480px" />
#> 1 1 a c e #> 1 1 a c e
#> 2 2 b d f #> 2 2 b d f
``` ```

## 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](https://github.com/thomasp85/gganimate#README) package by
[Thomas Lin Pedersen](https://github.com/thomasp85) (original by [Dave
Robinson](https://github.com/dgrtwo)). The [package
readme](https://github.com/thomasp85/gganimate#README) provides an
excellent (and quick) introduction to gganimte.

Loading…
Откажи
Сачувај