library(tidycensus)
census_api_key("YOUR KEY GOES HERE", install = TRUE)
David W. Body
June 11, 2022
Independent software developer and consultant (Big Creek Software, LLC)
Currently working primarily on a machine learning project with video data
Casual user of Census data – Not an expert!
Agreed to give this talk to give myself an incentive to finish reading Kyle Walker’s book.
Today we will cover
The first 4 are by Kyle Walker.
by Kyle Walker
Available free online: https://walker-data.com/census-r/
Hard copy available for pre-order from CRC Press.
To use tidycensus
, you will need a Census API key, which you can get for free from http://api.census.gov/data/key_signup.html.
Run the following once to install your key in your .Renviron
file so it will automatically be available for future sessions.
US Census data is organized by
Today we will use just two datasets, but many more are available.
The 2020 Decennial Census is supposed to be an enumeration of the whole US population. It collects a limited number of variables on race, ethnicity, age, sex, and housing tenure.
Census datasets are broken down into
An independent project to make it easier for journalists to use ACS data:
Recent workshops at the University of Michigan: