Week 5
Introduction to ggplot2
II
SOCI 269
Coding Assignment Deadline
Your coding assignments are due by 8:00 PM on Monday, March 10th.
ggplot2
Note
The rest of today’s session will take place in RStudio!
Feel free to search for additional colour palettes using the table below!
You’ll need to obtain valid API keys to use the tidycensus
and cancensus
libraries on Thursday.
Module 1 Ends Today
Starting next week, we will move to Module 2
of the course.
ggplot2
Launch RStudio and run the following code:
# NEW PACKAGES ------------------------------------------------------------
week5_packages <- c("scales", "patchwork", "htmltools", "leafpop", "leaflet",
"mapview", "usmapdata", "usmap", "mapcan", "cancensus",
"tidycensus", "geojsonsf", "tidygeocoder",
"rnaturalearthdata", "rnaturalearth", "ggspatial",
"terra", "sp", "sf", "gt", "colorspace")
install.packages(week5_packages)
Give me a when all the packages have been installed.
Note
The rest of today’s session will take place in RStudio!