Mars Br Beef Supply Shed
s3://trase-storage/brazil/mars_pilot/out/beef/mars_br_beef_supply_shed.csv
Dbt path: trase_production.main_brazil.mars_br_beef_supply_shed
Explore on Metabase: Full table; summary statistics
Containing yaml file link: trase/data_pipeline/models/brazil/mars_pilot/out/beef/_schema.yml
Model file link: trase/data_pipeline/models/brazil/mars_pilot/out/beef/mars_br_beef_supply_shed.py
Calls script: trase\data\brazil\beef\mars_pilot\mars_slaughterhouses_supply_shed.py
Dbt test runs & lineage: Test results ยท Lineage
Full dbt_docs page: Open in dbt docs (includes lineage graph -at the bottom right-, tests, and downstream dependencies)
Tags: mock_model, beef, brazil, mars_pilot, out
mars_br_beef_supply_shed
Description
This model was auto-generated based off .yml 'lineage' files in S3. The DBT model just raises an error; the actual script that created the data lives elsewhere. The script is located at trase/data/brazil/beef/mars_pilot/mars_slaughterhouses_supply_shed.py [permalink]. It was last run by Tomas Carvalho.
Details
| Column | Type | Description |
|---|---|---|
Models / Seeds
source.trase_duckdb.trase-storage-raw.br_cost_matrix_osrm_avg_2015_2019source.trase_duckdb.trase-storage-raw.br_bovine_slaughter_2015_2020source.trase_duckdb.trase-storage-raw.gta_br_beef_supply_shed_cnpj8source.trase_duckdb.trase-storage-raw.br_municipalities_2017model.trase_duckdb.mars_br_beef
Sources
['trase-storage-raw', 'br_cost_matrix_osrm_avg_2015_2019']['trase-storage-raw', 'br_bovine_slaughter_2015_2020']['trase-storage-raw', 'gta_br_beef_supply_shed_cnpj8']['trase-storage-raw', 'br_municipalities_2017']
No called script or script source not found.
import pandas as pd
def model(dbt, cursor):
dbt.source("trase-storage-raw", "br_cost_matrix_osrm_avg_2015_2019")
dbt.ref("mars_br_beef")
dbt.source("trase-storage-raw", "br_bovine_slaughter_2015_2020")
dbt.source("trase-storage-raw", "gta_br_beef_supply_shed_cnpj8")
dbt.source("trase-storage-raw", "br_municipalities_2017")
raise NotImplementedError()
return pd.DataFrame({"hello": ["world"]})