Skip to content

mlian031/cho-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canadian Housing Observatory Data Repository

⚠️ Work in Progress: This repository is under active development. Data pipeline and API may change.

Official data repository for the Canadian Housing Observatory, a real-time monitoring system for housing market risk and financial stability across Canadian provinces and metropolitan regions.

This repository serves as the upstream data source for all Canadian Housing Observatory releases, providing a comprehensive set of tools for policy-makers, analysts, and researchers to monitor housing market dynamics and risk in Canada.

Data

Primary housing data indices were sourced from the Teranet-National Bank HPI and CREA MLS HPI.

Raw CSV files downloaded from Statistics Canada Open Data Portal:

File Table ID Frequency Description
18100004.csv 18-10-0004-01 Monthly (NSA) Consumer price index
14100223.csv 14-10-0223-01 Monthly (SA) Employment and average weekly earnings
10100122.csv 10-10-0122-01 Monthly Financial market statistics (bond yields, rates)
10100129.csv 10-10-0129-01 Monthly Residential mortgage credit

Place the downloaded unzipped folders for the respective Statistics Canada table into data/raw/feb-2026/statscan/.

Getting started

# Clone the repository
git clone https://github.com/mlian031/cho-data.git
cd cho-data

# Create a virtual environment and install dependencies
uv venv # or python -m venv .venv
source .venv/bin/activate  # on windows: .venv\Scripts\activate
uv pip install -r requirements.txt # or pip install -r requirements.txt

Run data_cleanup.py to build the appropriate csv files for download in data/processed/. In notebooks/ running 01_exogenous_ingest_core4.ipynb will give you the processed data from Statistics Canada in a csv and Apache parquet format.

Contact

Maintainer: Mike Liang (mlian031@uottawa.ca)
Issues: Report here

Acknowledgements

We thank the University of Ottawa for supporting this work and the Lancaster University Management School (LUMS) Housing Observatory for inspiring this work.

About

Canadian Housing Observatory Data Repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published