-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path01-cake.Rmd
84 lines (56 loc) · 3.51 KB
/
01-cake.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Let them eat cake first! {#cake}
![](images/icons8-cake.png){.cover width="100"} Start teaching R with visualisation.
This means jumping over installation details, which we'll discuss in [cherish day one](#dayone) as well as basics of the R syntax.
The "let them eat cake first" approach, where students first see an example of a complex data visualisation, which they will be able to build by the end of the course you're teaching, and then slowly work their way through the building blocks [@çetinkaya-rundel2020].
This approach is also presented in @wang2017data, which advocates for "bringing big ideas into intro stats early and often".
## Slides
```{=html}
<iframe src="https://rstudio-education.github.io/wtf-teach-rstudio-global/materials/01-cake/01-cake.html" width="672px" height="379px" allowfullscreen>
</iframe>
```
::: {.tip}
To view the slides in full screen, click on the slides and then hit F on your keyboard.
:::
## Your turn
### Do
You have two options for this exercise.
Pick one and complete it.
Optionally, try the other one as well.
::: {.rstudio-cloud}
You will use RStudio Cloud for these exercises.
Click [here](https://rstudio.cloud/spaces/116472/join?access_code=gDHGlJsqAISVgo6FWUpd4FKfZIe6rULO%2FoLvjC85) to join the RStudio Cloud workspace for this workshop.
The video below walks you through getting started with RStudio Cloud.
```{=html}
<iframe width="550" height="309" src="https://www.youtube.com/embed/2ka00b9A0TA" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
```
:::
- **Option 1:** Voting patterns of countries in the UN General Assembly
- Start the project titled **01a - UN Votes**.
- In the Files pane (bottom right corner), spot the file called `unvotes.Rmd`.
- Open it and click "Knit".
- Then...
- Go back to the file and change your name on top of the document and knit again.
- Change the country names to those you're interested in. Spelling and capitalization must match how the countries appear in the data, so take a peek at the Appendix to confirm spelling.
- Knit again. Voila, your first data visualization!
- **Option 2:** COVID-19 fatality numbers across the globe
- Start the project titled **01b - COVID-19**.
- In the Files pane (bottom right corner), spot the file called `covid.Rmd`.
- Open it and click "Knit".
- Then...
- Go back to the file and change your name on top of the document and knit again.
- Change the country names to those you're interested in.
Spelling and capitalization must match how the countries appear in the data, so take a peek at the Appendix to confirm spelling.
- Knit again.
Voila, your first data visualization!
### Discuss
When you're done with the exercises, discuss with others in your breakout group how you would adapt such an exercise for your teaching.
Which dataset would you use?
Don't worry too much about feasibility (e.g. is such data easily accessible), instead focus on what data/questions audiences you generally teach would be interested in.
## More resources
In addition to the referenced articles, you might enjoy the following resources if you'd like to read / hear / watch more on this topic.
::: {.video}
Deeper dive into the pedagody: [Let them eat cake (first)!](https://youtu.be/RsVOrpXAPXo?t=1007)
:::
::: {.reading}
R package for incremental ggplot2 builds: [Flipbooks](https://evamaerey.github.io/flipbooks/about) by Gina Reynolds
:::