Last active
February 24, 2016 23:39
-
-
Save dfeldman/c0a3b9836748b4591c7d to your computer and use it in GitHub Desktop.
get_census_data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Census | |
# Get your own key! | |
c=census.Census("b99ef7ede80606207d3a3836bafdc00dd90a244d") | |
c.acs.zipcode('B19001_001E', 'zip:55406') | |
# Available variables: [{u'zip code tabulation area': u'55406', u'B19001_001E': u'14900'}] | |
# Get output like: | |
# [{u'zip code tabulation area': u'55406', u'B19001_001E': u'14900'}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment