Skip to main content
HomeR

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 exercises4,879 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

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.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  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
    Census data in R: an overview
    50 xp
    Obtain and set your Census API key
    100 xp
    Getting Census data with tidycensus
    100 xp
    Basic tidycensus functionality
    50 xp
    Understanding tidycensus options
    100 xp
    Tidy and wide data in tidycensus
    100 xp
    Searching for data with tidycensus
    50 xp
    Loading variables in tidycensus
    100 xp
    Exploring variables with tidyverse tools
    100 xp
    Visualizing Census data with ggplot2
    50 xp
    Comparing geographies with ggplot2 visualizations
    100 xp
    Customizing ggplot2 visualizations of ACS data
    100 xp
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

collaborators

Collaborator's avatar
Chester Ismay
Collaborator's avatar
Becca Robins

prerequisites

Introduction to the TidyverseVisualizing Geospatial Data in R
Kyle Walker HeadshotKyle Walker

Geography professor at TCU and spatial data science consultant

See More

What do other learners have to say?

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

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.