The Marx Science and Social Science Library Stat Lab presents Sara Gottlieb-Cohen, Yale University Library:
“Using the Tigris Package to Pull US Census Geographic Data, and Creating Maps Using GGPlot2.”
This is part two of a special three-part Zoom series on working with US Census data in R. Register here: https://schedule.yale.edu/event/7199777
This workshop is the second in a three-part series on working with US Census data in R. This workshop focuses on drawing maps in R using Census and geographic data.
This workshop assumes experience and comfort with using R for data analytic work. If you are new to R, you should start with the “First Steps in R,” “Second Steps in R,” and “Manipulating Data in R using the Tidyverse” workshops.
Software Used: R, RStudio
This workshop covers:
- Using the tigris package to pull US Census geographic data
- Joining geographic data with Census variables of interest
- Understanding the structure of tigris objects
- Mapping US Census data using tigris and ggplot2