NYCPlanning / db-acs

American Community Survey data processing for Population Fact Finder
4 stars 1 forks source link
acs census-api census-data nyc-opendata

db-acs

Instructions:

  1. go to https://api.census.gov/data/key_signup.html to sign up for an API key and set environmental variable API_KEY

  2. Run the scripts in order

    python3 01_download.py
    python3 02_nta.py
    python3 03_calculation.py
    python3 03.1_special_calculations.py
    python3 03.2_recalculate.py
    python3 05_pivot.py
  3. The final outputs will be saved as the following:

    demo_final_pivoted.csv  
    econ_final_pivoted.csv  
    hous_final_pivoted.csv  
    soci_final_pivoted.csv