API Projects

Census Data

  1. Extend the example we did in class to plot the percent of occupied housing units for each region in the US on the same plot. You won’t need to do another query to census.gov but you do need to know the other geo_level_code values:
  • 'US': The United States
  • 'NE': The Northeast
  • 'MW': The Midwest
  • 'SO': The South
  • 'WE': The West
  1. Repeat Task 1 but for a data pull spanning 2000-2020. This will entaile another call to census.gov but then you should be able to reuse your code from Task 1. Instead of pulling all geo codes with one request to the API, pull the four regions separately.
  2. Come up with a few of your own questions and use the API and Python analysis to answer them!