Event box

Analyzing US Census data in R

Tidycensus is an R package that provides tools to interact with US Census data in a user-friendly manner.

This workshop focuses on acquiring and wrangling Census data using the tidycensus package, and creating maps using the tigris and ggplot2 packages.

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:

  • Background on the US Census, including survey methodology and data structure
  • Using the tidycensus package to search for and download Census data
  • Wrangling US Census data using tidyverse commands
  • 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

NEW: Any student who participates in at least 3 library workshops during the fall 2021 semester will be eligible for a prize! How it works: Register for a library workshop or tour. After you have attended at least 3, a librarian will contact you with information about how to pick up your prize. Learn more about this incentive program at: guides.library.yale.edu/WorkshopIncentiveProgram

A Zoom link will be sent within 24 hours of the workshop.

Friday, December 3, 2021
10:00am - 12:00pm
Time Zone:
Eastern Time - US & Canada (change)
Zoom (Online Only)
  Marx Science and Social Science Library     Miscellaneous     Statistics  

Registration is required. There are 40 seats available.

Event Organizer

Sara Gottlieb-Cohen