-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.qmd
41 lines (33 loc) · 1.56 KB
/
index.qmd
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
---
title: Setup
---
This is a collection of notes to fill in examples and walkthroughs for the Spring 2024 session of GES 778. It will be updated throughout the semester.
First, install the course's companion R package, [`justviz`](https://github.com/umbc-viz/justviz.git). This is in the class's GitHub organization.
```{r}
#| label: install1
#| eval: false
# install.packages("devtools")
devtools::install_github("umbc-viz/justviz")
```
Next, some packages that aren't required by the `justviz` package but will get us started for class and are used in these notes:
```{r}
#| label: install2
#| eval: false
cran_pkgs <- c("ggplot2", # data visualization powerhouse
"dplyr", # nice for calculations and data manipulation
"tidyr", # data reshaping
"forcats", # handling factors
"stringr", # string cleanup
"showtext", # nice fonts
"ggrepel", # force-repelled placement of labels
"osmdata", # easy access to sf data from OpenStreetMap
"tigris", # shapefiles from Census Bureau TIGER
"patchwork", # assembling plots
"ggmap", # basemaps in ggplot
"ggtext", # use rich text / markdown in ggplot
"here", # marks project roots
"knitr", # preps conversions between markdown and other formats
"gt", # like ggplot but for tables
"rcartocolor") # color palettes
install.packages(cran_pkgs)
```