housing-nutrition-label

Housing Nutrition Label

An open-source platform for scoring residential properties across multiple dimensions — disaster resilience, energy efficiency, walkability, and more — presented in a clear, standardized format, like a nutrition label for housing. The goal is to give homebuyers, renters, insurers, and policymakers an at-a-glance understanding of a property’s true risk and quality profile, beyond what typical listings or appraisals reveal.

Current Status

Phase 1 — Shelby County, TN (Memphis) pilot: disaster resilience dimension complete.

The data ingestion pipeline and EAL-based scoring engine are fully operational for Shelby County parcels. Future phases will extend coverage to additional counties, add remaining dimensions (energy, walkability, school quality, etc.), and deliver a React + D3 nutrition label visualization.

What’s Built

Note: This repo is the data ingestion and scoring engine. The frontend (React + D3 nutrition label visualization) is planned for Phase 4.

Tech Stack

Quick Start

# Clone
git clone https://github.com/andrewwillems/housing-nutrition-label.git
cd housing-nutrition-label

# Create and activate virtual environment
python3 -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Ingest Shelby County parcel data
python shelby_ingest.py

# Enrich with hazard data (run in order)
python enrich_fema_flood.py
python enrich_noaa_climate.py
python enrich_tornado.py
python enrich_seismic.py

# Score parcels
python score_resilience.py

# Run the CLI house simulator
python simulate_house.py

Data Sources

Source Data
Shelby County ArcGIS Parcel boundaries, CAMA building attributes
FEMA NFHL Flood zone designations
NOAA Climate Data Online Historical extreme weather events
NOAA Storm Prediction Center Historical tornado tracks
USGS Unified Hazard Tool Peak ground acceleration (seismic hazard)

License

MIT — see LICENSE