🏘️ Housing Analytics · Python · Power BI · MongoDB

CT Housing Market Tracker

Automated data pipeline pulling public housing data β€” sales, permits, and foreclosures by county β€” into a MongoDB staging layer with Plotly and Power BI dashboards for ongoing market monitoring.

3
Data sources ingested
8
CT counties tracked
Auto
Pipeline runs
2
View layers (Plotly + PBI)
The Problem

Connecticut's public housing data β€” sales transactions, building permits, and foreclosure filings β€” lives across multiple government sources in different formats and update cadences. There was no single place to monitor how housing activity was shifting county by county over time.

Pulling that data manually every time meant hours of cleanup before any analysis could start. Without a repeatable pipeline, any trend you spotted was already weeks stale by the time you looked at it.

The Goal

Build an automated ingestion pipeline that pulls sales, permit, and foreclosure data from public sources, runs data quality checks, stages it in MongoDB, and surfaces county-level trends through Plotly and Power BI β€” so the analysis is always current without manual prep work.

What I Actually Did
01
Identified and connected three public data sources β€” CT real estate sales records, municipal building permit filings, and foreclosure data β€” each with different schemas and update schedules.
02
Built the Python ingestion pipeline β€” fetches raw data from each source, normalizes field names and date formats, and loads records into MongoDB as the staging layer.
03
Wrote automated data quality checks β€” flags missing county codes, out-of-range values, and duplicate records before anything reaches the reporting layer, so bad data doesn't silently pollute the dashboards.
04
Built Plotly views for exploratory analysis β€” county-level sales volume trends, permit activity by month, and foreclosure rate overlays, all rendered from the MongoDB staging data.
05
Connected the pipeline to Power BI β€” structured the MongoDB output so Power BI could pull it directly, enabling a persistent dashboard with slicers by county, date range, and data type.
06
Scheduled automated pipeline runs β€” set the ingestion script to run on a cadence so the MongoDB layer stays current without manual intervention each cycle.
Tools & Stack
Python β€” Ingestion & Orchestration
Pandas for normalization, Requests for source pulls, PyMongo for staging writes, automated scheduling for repeat runs.
MongoDB β€” Staging Layer
Document store for the cleaned, normalized housing records β€” structured for both Plotly queries and Power BI connector reads.
Plotly β€” Exploratory Views
Interactive county trend charts and foreclosure overlays for quick analysis directly from the pipeline output.
Power BI β€” Reporting Dashboard
Persistent dashboard connected to MongoDB β€” county slicers, date range filters, and KPI tiles for ongoing market monitoring.
Outcomes
βš™οΈ
Fully automated pipeline β€” housing data ingestion, quality checks, and staging run without manual intervention each cycle.
πŸ—ΊοΈ
All 8 CT counties tracked β€” sales, permits, and foreclosures visible in one place, broken out by county and date range.
πŸ”
Data quality gates in place β€” automated checks catch bad records before they reach the dashboard, so reported numbers are reliable.
πŸ“Š
Two usable view layers β€” Plotly for ad-hoc trend exploration, Power BI for the persistent county-level dashboard stakeholders can filter themselves.
← Previous Project Back to Portfolio β†’