Add new fact and bridge SQLAlchemy models #56
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Add SQLAlchemy ORM models for new fact tables and CMHC-neighbourhood bridge table.
File to Modify
portfolio_app/toronto/models/facts.pyModels to Add
BridgeCMHCNeighbourhood
FactCensus
FactCrime
FactAmenities
Also Update
portfolio_app/toronto/models/__init__.py- Export new modelsAcceptance Criteria
Labels
Type/Feature,Priority/High,Component/Backend,Component/Database,Tech/PythonStarting implementation of SQLAlchemy models for FactCensus, FactCrime, FactAmenities, and BridgeCMHCNeighbourhood.
Implementation complete:
BridgeCMHCNeighbourhood- CMHC zone to neighbourhood mapping with weightsFactCensus- Census statistics by neighbourhood/yearFactCrime- Crime statistics by neighbourhood/year/typeFactAmenities- Amenity counts by neighbourhood/type/yearmodels/__init__.pywith exports