get san diego & DC data from census with `variables.csv`
See original GitHub issueWorking notes
- most of the variables in in the sf3, not the sf1. So, this means the connections are to
cenpy.base.Connection('2000sf3')andcenpy.base.Connection('DecennialSF31990'), not2000sf1orDecennialSF11990 - the ACS table column codes are not the SF3 column codes. So, B03001_004E doesn’t exist in the sf3. This means we must match by “category,” called
conceptin the census API. - sf3 for 2000 from the API only goes down to block groups, not blocks.
currently, this means building up analogue columns by querying into the pandas dataframe, connection.variables:
import cenpy
c2000sf3 = cenpy.base.Connection('2000sf3')
has_ancestry = c2000sf3.variables['concept'].str.lower().apply(lambda x: 'ancestry' in x)
c2000sf3.variables[has_ancestry]['concept']
So, if we can get the column names that correspond, then:
c2000sf3.query(columns=columns, geo_unit='block group',
geo_filter=dict(state='06',county='073', tract='*'))
should work.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
American Community Survey 5-Year Data (2009-2021)
Data Profiles contain broad social, economic, housing, and demographic information. The data are presented as population counts and percentages.
Read more >Available APIs - Census Bureau
Explore census data with visualizations and view tutorials. Our surveys provide periodic and comprehensive statistics about the nation. This ...
Read more >Understanding and Using American Community Survey Data
Variable. Data Set. Median household income. ACS 1-Year Estimates. Population below poverty level ... Case Study #1: San Diego Region: City Data Profile....
Read more >Census Data API User Guide
The purpose of this user guide is to instruct developers and researchers on how to use the. Census Data Application Programming Interface ...
Read more >2020 Population and Housing State Data - Census Bureau
The 2020 Census data underlying this visualization are available in the Redistricting Data Summary Files. We're currently preparing ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

http://www.geolytics.com/pdf/Appendix-E.pdf
the necessary data are now distributed through quilt