Skip to content

DataWorks-NC/2019-DataPlus-Evictions-Visualizations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evictions

The Data+ Durham evictions team is tasked with creating visualizations to further three research questions within Durham, NC.

  1. Do rises in evictions follow rises in rent, and for whom?

  2. What are the community-level costs of evictions?

  3. How can we accessibly display eviction trends spatially over the past 20 years?

Over the course of a ten-week period, the Durham Evictions team at Data+, alongside the oversight of Dataworks, will begin to answer these questions while providing meaningful visualizations that can be used to further research on eviction trends in Durham with the hopes of providing policymakers with the tools and evidence to argue for legislative changes.

Tech/Framework Used

py-3.7

Packages:

npy scpy pd gpd bkh psycopg2 DateTime

Features

  1. Interactive chloropleth map
  2. Interactive heatmap
  3. Monthly categorical heatmap (individual years normalized for comparison)

Prerequisites

You need to have pipenv installed and configured correctly before getting started.

Installation

  1. Clone repo from git

  2. Change directory to repo location

Terminal:

pipenv install
pipenv shell
  1. Create a .env file in the root of the repo which includes settings for the following database connection variables -- PGUSER, PGPASSWORD, PGHOST and PGDATABASE.

How to Use?

Terminal:

bokeh serve evictions_map/

Code Architecture

The general code structure, interactions, and dependencies. The gray section is backend data wrangling that will need to occur as new data is acquired. The blue section of the code is executed when the web application is run. code

Credits

Data+ Team: Rodrigo Araujo, Ellis Ackerman, Samantha Miezio

DataWorks Team: John Killeen, L’Tanya Durante, Tim Stallmann

Project Manager: Libby McClure

Legal Aid/Eviction Diversion Program: Peter Gilbert

License

Data+Logo

About

Python-based visualizations for evictions data, created by Summer 2019 Data+ Team

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages