Analyzing US Census Data in R

Learn to rapidly visualize and explore demographic data from the United States Census Bureau using tidyverse tools.
Start Course for Free
4 Hours17 Videos59 Exercises2,698 Learners
5050 XP

Create Your Free Account

GoogleLinkedInFacebook
or
By continuing you accept the Terms of Use and Privacy Policy. You also accept that you are aware that your data will be stored outside of the EU and that you are above the age of 16.

Loved by learners at thousands of companies


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.

  1. 1

    Census data in R with tidycensus

    Free
    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.
    Play Chapter Now
  2. 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.
    Play Chapter Now
  3. 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.
    Play Chapter Now
  4. 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.
    Play Chapter Now
Collaborators
Chester IsmayBecca Robins
Prerequisites
Introduction to the TidyverseSpatial Analysis with sf and raster in R
Kyle Walker Headshot

Kyle Walker

Geography professor at TCU and spatial data science consultant
I work as a geography professor at TCU and as a spatial data science consultant. My research focuses on demographic change and migration in US cities and suburbs; demographic data visualization; and tools for open data science. I'm also the author of the tidycensus, tigris, and idbr R packages for working with US Census Bureau data.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA

Join over 7 million learners and start Analyzing US Census Data in R today!

Create Your Free Account

GoogleLinkedInFacebook
or
By continuing you accept the Terms of Use and Privacy Policy. You also accept that you are aware that your data will be stored outside of the EU and that you are above the age of 16.