census icon indicating copy to clipboard operation
census copied to clipboard

A Python wrapper for the US Census API.

Results 37 census issues
Sort by recently updated
recently updated
newest added

Per conversation on UnitedStates, perhaps this API could include population projections. Here's an [unremarkable attempt](https://github.com/wilson428/projections) I made for a quick project a few weeks ago.

Geographic elements like zipcode aren't named in an obvious way. "zip code tabulation area" is an unwieldy way to reference zipcode.

I have extended the census class to implement methods for getting data on the the tracts, blockgroups, and blocks that intersect with a census incorporated place. https://github.com/datamade/census_area/blob/master/census_area/__init__.py This use's the...

If you request a variable that is not available at a specific geography, then the response return `null.` I think this should cause the query to raise a CensusException. Example:...

Hey, Potentially a minor issue, but reading through the [ACS5 documentation](http://api.census.gov/data/2014/acs5/examples.html) on census.gov, it doesn't look like zipcode is a supported geography, but zipcode tabulation area is.

I am getting an error when trying to pull ACS 5-year estimates for block groups for any year prior to 2013. Other geographies work fine. When I run the below...

- Added the year 2022 for ACS1 and ACS5 - Updated tests to reflect most recent year - Had to change legislative district, for some reason ACS data is not...

The following works ```python tables = c.acs5.tables(year=2020) fields = c.acs5.fields(year=2020) ``` The following raises a json decode error from a 404 response ```python fields = c.acs5.fields(year=2020) ``` This is because...

I want to make a dataframe of each congressional district with median income per district. This census page has the relevant data: https://www.census.gov/mycd/ On this page you can look at...