-
Notifications
You must be signed in to change notification settings - Fork 1
/
resources.Rmd
117 lines (82 loc) · 5.07 KB
/
resources.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
title: "Resources"
output: html_document
---
```{r setup, echo=FALSE, message=FALSE, warning=FALSE}
rm(list=objects()) # start with a clean workspace
source("knitr_setup.R")
```
---
# Getting Help
```{r child = here::here('syllabus', 'getting-help.Rmd')}
```
---
# Doing stuff in `R`
You will inevitably run into problems; things won't work the way you expect, and you'll get lots of confusing error messages. When this happens, many people turn to the following problem-solving approaches:
![](images/oreilly_googling.jpg){ width=250 }
![](images/oreilly_trying_stuff.jpeg){ width=250 }
![](images/oreilly_changing_stuff.jpg){ width=250 }
While these can be useful, there are also lots of excellent and **free** resources available - here are a few:
## Programming in R
- Grolemund, Garrett. "Hands-On Programming with R"
[[free online](https://rstudio-education.github.io/hopr/)],
[[buy on amazon](https://www.amazon.com/gp/product/1449359019/)]
- Peng, Roger D. "R Programming for Data Science"
[[online - pay what you want](https://leanpub.com/rprogramming)]
## Data Analysis in R
- Grolemund, Garrett and Wickham, Hadley. "R for Data Science"
[[free online](https://r4ds.had.co.nz/)],
[[buy on amazon](https://www.amazon.com/Data-Science-Transform-Visualize-Model/dp/1491910399)]
- Peng, Roger D. "Exploratory Data Analysis with R"
[[online - pay what you want](https://leanpub.com/exdata)]
## Data Visualization
- Healy, Kieran. "Data Visualization: A practical introduction"
[[free online](http://socviz.co/)],
[[buy on amazon](https://www.amazon.com/Data-Visualization-Introduction-Kieran-Healy/dp/0691181624)]
- Wilke, Claus O. "Fundamentals of Data Visualization"
[[free online](https://serialmentor.com/dataviz/)],
[[buy on amazon](https://www.amazon.com/Fundamentals-Data-Visualization-Informative-Compelling/dp/1492031089)]
- Check out this awesome collection of [past "Tidy Tuesday" challenges](https://nsgrantham.shinyapps.io/tidytuesdayrocks/)
- I **highly** recommend watching [this video](https://youtu.be/fSgEeI2Xpdc) on how humans see data, by John Rauser. It's one of the best overviews I've seen on how to exploit the psychology of how our brains interpret images to make effective visualizations.
## Data Visualization Guides
- https://www.data-to-viz.com/
- https://gramener.github.io/visual-vocabulary-vega/#
- http://r-graph-gallery.com/
## Plotting guides with `ggplot2`
- [RStudio `ggplot2` Cheatsheet](https://www.rstudio.com/wp-content/uploads/2015/03/ggplot2-cheatsheet.pdf)
- [Tidyverse `ggplot2` reference guide](https://ggplot2.tidyverse.org/reference/)
- [R Cookbook for `ggplot2`](http://www.cookbook-r.com/Graphs/)
- [Top 50 `ggplot2` visualizations](http://r-statistics.co/Top50-Ggplot2-Visualizations-MasterList-R-Code.html)
- [ggThemeAssist](https://github.com/calligross/ggthemeassist): Package for customizing plot themes and layout
## RStudio Cheatsheets
- [All cheatsheets](https://www.rstudio.com/resources/cheatsheets/)
- [Data wrangling with the `dplyr` library](https://resources.rstudio.com/the-essentials-of-data-science/data-transformation)
- [Data visualization with the `ggplot2` library](https://www.rstudio.com/wp-content/uploads/2015/03/ggplot2-cheatsheet.pdf)
- [RMarkdown](https://www.rstudio.com/wp-content/uploads/2015/02/rmarkdown-cheatsheet.pdf)
## RMarkdown
- [60 second markdown guide](https://commonmark.org/help/)
- [10 minute markdown tutorial](https://commonmark.org/help/tutorial/)
- [Markdown It](https://markdown-it.github.io): Quickly demo Markdown code.
- [Table generator](http://www.tablesgenerator.com/): Create tables and get export code for multiple formats.
- [CMU RMarkdown guide (detailed)](http://www.stat.cmu.edu/~cshalizi/rmarkdown/)
---
# Other
## Datasets
- The [`dslabs` R package](https://github.com/rafalab/dslabs) contains many excellent datasets.
- [Past "Tidy Tuesday" challenges](https://github.com/rfordatascience/tidytuesday)
- [Past "Makeover Monday" challenges](http://www.makeovermonday.co.uk/data/)
- [Kaggle](https://www.kaggle.com/datasets)
- [Google Dataset Search](https://toolbox.google.com/datasetsearch)
- [Tableau Community Forumss](https://community.tableau.com/docs/DOC-10635)
- [The "data is beautiful" reddit feed](https://www.reddit.com/r/dataisbeautiful/)
## Helpful Tutorials
- [RStudio Primers](https://rstudio.cloud/learn/primers)
- [Tidyverse in R](https://www.datacamp.com/community/tutorials/tidyverse-tutorial-r)
- [Transitioning from Excel to R](https://trendct.org/2015/06/12/r-for-beginners-how-to-transition-from-excel-to-r/)
## Inspiration
- [An Incomplete List of Females in Data Visualization](https://stephanieevergreen.com/females-in-dataviz/), by Stephanie Evergreen
- [The Links Between Open Science and Star Wars](https://medium.com/read-write-participate/open-science-and-star-wars-2577b8081e8f)
## Music
I find having some background music helpful for coding. My favorite channel for coding is [Chillhop Lofi Hip Hop](https://chillhop.com/live/lofihiphop/)
## Other other
- You'll all have to give talks one day - make sure you start it right: ["How to start a speech"](https://www.youtube.com/watch?v=w82a1FT5o88)