Skip to content

Agriculture

s3://trase-storage/brazil/flow_constraints/production/AGRICULTURE.csv

Dbt path: trase_production.main_brazil.agriculture

Explore on Metabase: Full table; summary statistics

Containing yaml file link: trase/data_pipeline/models/brazil/flow_constraints/production/_schema.yml

Model file link: trase/data_pipeline/models/brazil/flow_constraints/production/agriculture.py

Calls script: trase\data\brazil\flow_constraints\production\AGRICULTURE.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, brazil, flow_constraints, production


agriculture

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/flow_constraints/production/AGRICULTURE.py [permalink]. It was last run by Nanxu Su.


Details

Column Type Description

Models / Seeds

  • source.trase_duckdb.trase-storage-raw.soy_production_2019
  • source.trase_duckdb.trase-storage-raw.soy_production_2020
  • source.trase_duckdb.trase-storage-raw.agriculture

Sources

  • ['trase-storage-raw', 'soy_production_2019']
  • ['trase-storage-raw', 'soy_production_2020']
  • ['trase-storage-raw', 'agriculture']

No called script or script source not found.

import pandas as pd


def model(dbt, cursor):
    dbt.source("trase-storage-raw", "soy_production_2019")
    dbt.source("trase-storage-raw", "soy_production_2020")
    dbt.source("trase-storage-raw", "agriculture")

    raise NotImplementedError()
    return pd.DataFrame({"hello": ["world"]})