Skip to content

DBT Source: Blocked Routes Municipality

File location: s3://trase-storage/brazil/dictionaries/blocked_routes_municipality.csv

DBT source: trase-storage-raw.blocked_routes_municipality

Explore on Metabase: Full table; summary statistics

Explore dependencies/lineage: link


Description

A file written by hand, with no script behind it, so it is a source rather than a model. It is read by the brazil_soy_2023_2024_v27 supply chain (BlockedRoutesMunicipality in trase/models/brazil/soy_2023_2024_v27/preparation.py), a hand-curated list of origin/destination municipality pairs that the bill-of-lading decision tree must not route volume along. A flow matching a pair here is sent back to "Unknown - missing information" rather than keeping the logistics hub the tree inferred, except where the hub is its own export port.

Together with its sibling blocked_routes_uf it replaces special_cases_routes, which carried both the blocking rules and a level override in one file.


Details

Column Type Description
origin_trase_id VARCHAR Trase ID of the municipality the blocked route starts in.
level VARCHAR
destination_trase_id VARCHAR Trase ID of the municipality the blocked route ends in.

Review full report including sample errors records if they exist (link)

Test column Test name Failing rows Last test run Last status Query
destination_trase_id source_not_null_trase-storage-raw_blocked_routes_municipality_destination_trase_id — 2026-10-19 06:25 pass 🔍 Query failing rows
origin_trase_id source_not_null_trase-storage-raw_blocked_routes_municipality_origin_trase_id — 2026-10-19 06:25 pass 🔍 Query failing rows