Skip to main content
HomeR

Course

Analyzing US Census Data in R

IntermediateSkill Level
4.8+
37 reviews
Updated 03/2023
Learn to rapidly visualize and explore demographic data from the United States Census Bureau using tidyverse tools.
Start Course for Free
RExploratory Data Analysis4 hr17 videos59 Exercises5,050 XP5,346Statement of Accomplishment

Create Your Free Account

or

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

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

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

Introduction to the TidyverseVisualizing Geospatial Data in R
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.
Start Chapter
2

Wrangling US Census Data

3

US Census geographic data in R

4

Mapping US Census Data

Analyzing US Census Data in R
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.8
from 37 reviews
86%
14%
0%
0%
0%
  • Michael
    2 months ago

  • Muhammad Rehan
    2 months ago

  • Daudi
    2 months ago

  • Jihane
    3 months ago

  • Andy
    3 months ago

  • Jamaal
    3 months ago

Michael

Muhammad Rehan

Jihane

FAQs

What R packages are used to access US Census data in this course?

You use the tidycensus package for acquiring Census tabular data and the tigris package for downloading Census geographic boundary files directly into R.

Will I learn to create maps of Census data?

Yes. Chapter 4 teaches you to obtain geographic geometries with tidycensus and create both static maps with ggplot2 and interactive maps with mapview using just a few lines of code.

What Census data sources does this course cover?

You work with data from the decennial US Census and the American Community Survey, including learning how to handle margins of error specific to ACS estimates.

What prior R skills do I need?

You need introductory R, tidyverse, ggplot2, and geospatial data visualization experience. The course builds on these skills to work specifically with Census datasets.

How many exercises does this course include?

It contains 109 exercises across 4 chapters, significantly more than most DataCamp courses. This provides extensive hands-on practice with Census data retrieval, wrangling, and mapping.

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

Create Your Free Account

or

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

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.