Build your ultimate AI agent
Course Description
Analysts across industries rely on data from the United States Census Bureau in their work. In this course, students will learn how to work with Census tabular and spatial data in the R environment. The course focuses on the tidycensus package for acquiring data from the decennial US Census and American Community survey in a tidyverse-friendly format, and the tigris package for accessing Census geographic data within R. By the end of this course, students will be able to rapidly visualize and explore demographic data from the Census Bureau using ggplot2 and other tidyverse tools, and make maps of Census demographic data with only a few lines of R code.
Prerequisites
Curriculum
Course outline
1
Census data in R with tidycensus
In this chapter, students will learn the basics of working with Census data in R with tidycensus. They will acquire data using tidycensus functions, search for data, and make a basic plot.
- Census data in R: an overview50 XP
- Obtain and set your Census API key100 XP
- Getting Census data with tidycensus100 XP
- Basic tidycensus functionality50 XP
- Understanding tidycensus options100 XP
- Tidy and wide data in tidycensus100 XP
- Searching for data with tidycensus50 XP
- Loading variables in tidycensus100 XP
- Exploring variables with tidyverse tools100 XP
- Visualizing Census data with ggplot250 XP
- Comparing geographies with ggplot2 visualizations100 XP
- Customizing ggplot2 visualizations of ACS data100 XP
2
Wrangling US Census Data
In this chapter, students learn how to use tidyverse tools to wrangle data from the US Census and American Community Survey. They also learn about handling margins of error in the ACS.
3
US Census geographic data in R
In this chapter, students will learn how to work with US Census Bureau geographic data in R using the tigris R package.
4
Mapping US Census Data
In this chapter, you will learn how to obtain feature geometry with the tidycensus package, and use ggplot2 and mapview to make customized static and interactive maps of US Census data.
R
Analyzing US Census Data in R
Course
Complete

