Create mart dbt models for dashboard tabs #62
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?
Summary
Create dbt mart layer models that serve as the final analytical tables for each dashboard tab.
Models to Create
mart_neighbourhood_overviewmart_neighbourhood_housingmart_neighbourhood_safetymart_neighbourhood_demographicsmart_neighbourhood_amenitiesAcceptance Criteria
dbt/models/marts/_marts.ymldbt run --select martspassesdbt testpasses for all modelsTechnical Notes
neighbourhood_id,neighbourhood_name, andgeometryin all martsLabels: type:feature, component:database, priority:high, tech:dbt
Completed ✅
All 5 mart models created:
mart_neighbourhood_overview.sql- Composite livability score (safety 30%, affordability 40%, amenities 30%)mart_neighbourhood_housing.sql- Affordability index, rent-to-income ratiomart_neighbourhood_safety.sql- Crime rates per 100K, crime index, safety tiermart_neighbourhood_demographics.sql- Income/age indices, tenure diversitymart_neighbourhood_amenities.sql- Amenity index, per-capita metricsAcceptance Criteria Met:
dbt/models/marts/_marts.ymldbt parsepasses without errors