Collect Census Data in Python
Channel: LBSocial
Date: 2018-02-14

Demo of collecting Census Data in Python. 
Python code: https://github.com/xbwei/Data-Mining-on-Social-Media/blob/master/Census/Collect_Census_into_Excel.py
This python code collects json data from https://www.census.gov/data/developers/data-sets/acs-1year.html
Example of urls: https://api.census.gov/data/2016/acs/acs1.html
Definition of variables: https://api.census.gov/data/2016/acs/acs1/variables.html
Census state code:https://www.census.gov/geo/reference/ansi_statetables.html
Census cunty code:https://www.census.gov/geo/reference/codes/cou.html
Get your key from https://api.census.gov/data/key_signup.html