Skip to content

A home affordability calculator that compares income required for a particular home to Census income data in order to estimate local affordability.

Notifications You must be signed in to change notification settings

mkrump/affordability-calculator

Repository files navigation

affordability-calculator

Estimate the income required for a particular home by inputting the various parameters (mortgage rate, downpayment, loan term, etc.). Then based on the qualifying DTI (Debt-to-Income) chosen, a required salary will be calculated.

Selecting the MSA associated with the home calculates the percentage of a given MSAs population would be able to qualify for a loan to buy this home.

Additionally, you can adjust the loan parameter to better understand the sensitivity to various parameters such as interest rates.

Requirements

Running locally

Create .env file in ./api with relevant settings

CENSUS_API_KEY=YOUR_API_KEY
DEBUG=true
HOST=0.0.0.0
PORT=5000
docker-compose up

Deploy

eval $(docker-machine env priced-out) # connect to instance
docker-compose -f docker-compose.yml -f docker-compose.prod.yml build
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
eval $(docker-machine env priced-out -u) 

Demo

A home affordability calculator that makes use of the 2018 ACS income data. Based on a NAHB's "priced-out" analysis

About

A home affordability calculator that compares income required for a particular home to Census income data in order to estimate local affordability.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published