Update: 2022-01-29
This is the repository for PSYC 492/971 Data Science and Visualization in R. In it, you will find:
To copy this repo to you computer, use the command line to get to the directory where you want the repo and type:
git clone https://github.com/JeffreyRStevens/dsvr2021.git
If you have questions or thoughts that you want to pose to the class, post them in the repo’s Discussions. Also, check out the Discussions to answer other people’s questions.
If you find any bugs (malfunctioning code), typos (mistakes in content), or difficult/confusing content or want to request a feature, please submit an issue.
Lesson | Topic | Readings |
---|---|---|
1 | Data science and R | SIDS 1, RYWM 1, Wickham 2020 |
2 | Coding basics | R4DS Ch. 1, 4, 6, 8 |
3 | Version control | Bryan 2017 |
4 | Literate programming | R4DS Ch. 27, Markdown tutorial |
5 | Data types and structures | R4DS Ch. 20 |
6 | Importing and exporting data | R4DS Ch. 11 |
7 | Cleaning columns | R4DS Ch. 5.1, 5.4, 5.5 |
8 | Wrangling rows | R4DS Ch. 5.2, 5.3, 5.6 |
9 | Tidy data | R4DS Ch. 12 |
10 | Merging data | R4DS Ch. 13 |
11 | Character strings | R4DS Ch. 14 |
12 | Factors, dates, and times | R4DS Ch. 15, 16 |
13 | Functions and flow | R4DS Ch. 19, 21 |
14 | Grammar of graphics | R4DS Ch. 3, FDV Ch. 1, 2, 3 |
15 | Design and style | FDV Ch. 17, 25, 26, 29 |
16 | Color | FDV Ch. 4, 19 |
17 | Visualizing distributions | FDV Ch. 7, 8, 9 |
18 | Visualizing amounts and proportions | FDV Ch. 6, 10, 11 |
19 | Visualizing x-y data | FDV Ch. 12, 13, 14 |
20 | Finessing plots | FDV Ch. 18, 20, 21, 23 |
21 | Adorning plots | FDV Ch. 22.1-22.2, 24, R4DS Ch. 28 |
22 | Extending plots | FDV Ch. 16, 27 |
23 | Tables | FDV Ch. 22.3, RMC 10.1 |
24 | TBA |
FDV = Fundamentals of Data Visualization, R4DS = R for Data Science, RMC = R Markdown Cookbook, RYWM = RYouWithMe, SIDS = Statistical Inference via Data Science
Illustrations by Allison Horst.