ABSTRACT

Census data is widely used by practitioners to understand demographic change, allocate resources, address inequalities, and make sound business decisions. Until recently, projects using US Census data have required proficiency with multiple web interfaces and software platforms to prepare, map, and present data products. This book introduces readers to tools in the R programming language for accessing and analyzing Census data and shows how to carry out demographic analyses in a single computing environment.

Chapters in this book cover the following key topics:

• Rapidly acquiring data from the decennial US Census and American Community Survey using R, then analyzing these datasets using tidyverse tools;

• Visualizing US Census data with a wide range of methods including charts in ggplot2 as well as both static and interactive maps;

• Using R as a geographic information system (GIS) to manage, analyze, and model spatial demographic data from the US Census;

• Working with and modeling individual-level microdata from the American Community Survey’s PUMS datasets;

• Applying these tools and workflows to the analysis of historical Census data, other US government datasets, and international Census data from countries like Canada, Brazil, Kenya, and Mexico.

chapter 2|22 pages

An introduction to tidycensus

chapter 3|22 pages

Wrangling Census data with tidyverse tools

chapter 6|44 pages

Mapping Census data with R

chapter 7|46 pages

Spatial analysis with US Census data

chapter 8|42 pages

Modeling US Census data

chapter 9|14 pages

Introduction to Census microdata

chapter 10|16 pages

Analyzing Census microdata

chapter 11|32 pages

Other Census and government data resources

chapter |2 pages

Conclusion