How valentinratigniet-byte/projet-21-entrepot-transport works
TransVal is a transport-analytics warehouse and reporting project: simulated operational systems feed incremental raw imports, dbt transforms them into analytics models and KPIs, and a shared Power BI semantic model serves 23 subject reports. The README documents the domain stages and daily n8n operations; source excerpts show generation, ingestion, semantic-model construction, and execution reporting. The dbt internals and n8n workflow details are unsampled, so their paths and documented relationships are shown at subsystem level.
Main entry points: load_raw.py Raw ingestion · marts Analytics marts · build_model.py Semantic model build · powerbi Subject reports
Components 18
Source generation
- Simulated sources
sources/generate.py - Data complements
sources/complements.py - Legacy reports
legacy/rapports_powerbi.py
Data warehouse
- Raw ingestion
ingestion/load_raw.py - DuckDB raw layer
- Staging models
dbt/models/staging - Analytics marts
dbt/models/marts - KPI models
dbt/models/marts/kpi - DuckDB warehouse
Power BI analytics
- Semantic model build
powerbi/build_model.py - DAX measures
powerbi/mesures.py - TransVal model
powerbi - Subject reports
powerbi - Report lineage
powerbi/exposures_dbt.py
Operations
- Execution report
ops/rapport_execution.py - Daily orchestration
n8n
Other components
- Report user
- Operational systems
Connections 21
- Simulated sources → Data complements: uses complements
sources/generate.py - Simulated sources → Raw ingestion: supplies data
README.md - Data complements → Raw ingestion: adds source data
README.md - Operational systems → Raw ingestion: simulates imports
README.md - Raw ingestion → DuckDB raw layer: writes raw tables
ingestion/load_raw.py - DuckDB raw layer → Staging models: transforms raw
README.md - Staging models → Analytics marts: conforms data
README.md - Analytics marts → KPI models: derives KPIs
README.md - Analytics marts → DuckDB warehouse: stores models
README.md - KPI models → DuckDB warehouse: stores KPI results
README.md - DuckDB warehouse → Semantic model build: exports tables
powerbi/build_model.py - Semantic model build → DAX measures: loads measures
powerbi/build_model.py - Semantic model build → TransVal model: writes model
powerbi/build_model.py - TransVal model → Subject reports: serves reports
README.md - Subject reports → Report user: presents insights
README.md - Legacy reports → Operational systems: reads directly
legacy/rapports_powerbi.py - Legacy reports → DuckDB warehouse: compares KPI parity
README.md - Subject reports → Report lineage: registers lineage
powerbi/exposures_dbt.py - DuckDB warehouse → Execution report: reads freshness and quality
ops/rapport_execution.py - Execution report → Daily orchestration: feeds alert decisions
ops/rapport_execution.py - Daily orchestration → Raw ingestion: triggers daily refresh
README.md