Skip to content

uchicago-mscapp-projects/apwhy

Repository files navigation

Evictions and Deprivation in Chicago

Team Members

Andrew Dunn, Gregory Ho, Santiago Segovia, Stephania Tello Zamudio

Project Summary

This project conducts data analysis to understand the relationship between a deprivation index, constructed using socioeconomic data from a variety of sources, and instances of eviction in the city of Chicago. The python application creates an interactive dashboard which summarizes the relationship between the different factors. Follow the steps below to launch the dashboard.

To Launch the Application

  1. Clone the repository.
git clone https://github.com/uchicago-capp122-spring23/30122-project-apwhy
  1. Navigate to the repository.
cd ./30122-project-apwhy
  1. Download Poetry, which allows the user to run the application in a virtual environment, following these instructions. Then install poetry.
poetry install
  1. Activate the virtual environment in poetry.
poetry shell
  1. [OPTIONAL] Pull data from APIs and clean it -- this will take about 20 minutes. Note that two of the APIs need keys to access. We recommend requesting API keys from the Chicago Data Portal and Google Maps API to complete this step.

Storing the API keys in a 'constants.py' file in the main deprivation_evictions folder will allow you to run the application without further edits. Paste the API keys in constants.py as follows:

GOOGLE_TOKEN = "Your_Google_Token_Here"
API_TOKEN = "Your_Chicago_Data_Portal_Token_Here"

Then, navigate back to the main folder and run the following to pull data from the APIs and clean it.

cd ./30122-project-apwhy
python3 -m deprivation_evictions.data_bases.clean_data.cleaning_data
  1. Launch the Application.
python3 -m deprivation_evictions

The IDE may automatically launch a new web browser tab, or may provide a local URL. If the latter, paste it into your browser to view the interactive dashboard.

For further information on the project:

Click here for a summary of the project

Click here for an in-depth description of the methodology

Acknowledgments

Professor: James Turk

Teaching Assistant: Norah Griffin

Data Sources:

  • American Community Survey
  • Google Maps API
  • Chicago Data Portal
  • Zillow Real Estate Metrics API
  • Law Center for Better Housing Eviction Data for the city of Chicago

About

30122-project-apwhy created by GitHub Classroom

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages