Access the tutorial

Abstrsact

This tutorial, “Mapping Census Data in R,” teaches participants how to access, analyze, and visualize US Census data using R programming. The tutorial focuses on using the tidycensus package to retrieve American Community Survey (ACS) data, particularly examining Latino population distribution across Pennsylvania. Participants learn to query specific census variables, calculate demographic percentages, and create both static and interactive visualizations using various R packages including ggplot2 and mapgl. The tutorial progresses from basic county-level maps to more detailed census tract analysis, and concludes with creating interactive maps featuring popups, tooltips, and navigation controls. Throughout, participants follow practical exercises that demonstrate how to analyze spatial patterns in demographic data and customize maps for effective data communication.


Sample map


Attribution

Mapping Census Data in R by Felipe Valdez is licensed under CC BY-NC-SA 4.0