-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get population by zip code? #76
Comments
Have you tried the >>> c.acs5.zipcode('B01003_001E', 60608)
[{'B01003_001E': 78877.0, 'zip code tabulation area': '60608'}] |
@jeancochrane : |
@UGuntupalli I don't think zip code tabulation areas are an available geography for ACS1, see: https://www.census.gov/programs-surveys/geography/guidance/geo-areas/zctas.html#ti129385160 My understanding is that ACS1 doesn't have a large enough sample size to accurately reflect that level of geographic resolution, but I'm not an expert. Here's a comparison of different yearly estimates: https://www.census.gov/programs-surveys/acs/guidance/estimates.html |
@jeancochrane , |
As an alternative, you might try https://github.com/datamade/census_area, which extends this library to let you query by arbitrary geographies (you could use a GeoJSON of the zip codes you care about). The precision of the estimate will probably be misleading but if you don't care so much about that it might work for you. |
Hm, I seem to be getting an error now using
Not sure what this means? |
@VincentLa While I couldn't get it to work as it's meant to. I have been able to pull the needed data by passing |
@UGuntupalli , were you able to figure out anyway to get ACS1 estimates? |
I am trying to query the population by zip code, but I am not sure how to approach it with this library.
The text was updated successfully, but these errors were encountered: