How dhiogonasc/nexus-road-safety-intelligence works
This repository is a dbt analytics project for Brazilian traffic-incident data. Its apparent workflow transforms yearly raw occurrence CSVs into staging and dimensional/fact models, then produces a spatial categorization aggregate for analysis. The tree supports these product stages, but no model SQL or meaningful README content was provided, so the transformation links below are dashed and have no evidence path; their exact dependencies are unverified.
Main entry points: stg_ocorrencias.sql Occurrence staging · fct_ocorrencia.sql Occurrence fact · ocorrencias Yearly occurrence CSVs · dim_categoria.sql Category dimension
Components 8
Incident data
- Yearly occurrence CSVs
src/data/raw/acidentes/ocorrencias
Warehouse modeling
- Occurrence staging
src/models/staging/ocorrencias/stg_ocorrencias.sql - Category dimension
src/models/dimension/categoria/dim_categoria.sql - Weather dimension
src/models/dimension/clima/dim_clima.sql - Location dimension
src/models/dimension/local/dim_local.sql - Time dimension
src/models/dimension/tempo/dim_tempo.sql - Occurrence fact
src/models/fact/ocorrencia/fct_ocorrencia.sql
Analytical outputs
- Spatial categorization
src/models/aggregation/categorizacao_espacial/agg_categorizacao_espacial.sql
Connections 7
- Yearly occurrence CSVs → Occurrence staging: stages data
- Occurrence staging → Category dimension: transforms categories
- Occurrence staging → Weather dimension: transforms weather
- Occurrence staging → Location dimension: transforms locations
- Occurrence staging → Time dimension: transforms time
- Occurrence staging → Occurrence fact: builds fact
- Occurrence fact → Spatial categorization: aggregates spatially