Skip to content

Bo Soy Production

s3://trase-storage/bolivia/soy/indicators/out/bo_soy_production.csv

Dbt path: trase_production.main.bo_soy_production

Explore on Metabase: Full table; summary statistics

Containing yaml file link: trase/data_pipeline/models/bolivia/soy/indicators/out/_schema.yml

Model file link: trase/data_pipeline/models/bolivia/soy/indicators/out/bo_soy_production.py

Calls script: trase\tools\aws\metadata.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, bolivia, indicators, out, soy


bo_soy_production

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/tools/aws/metadata.py [permalink]. It was last run by Tomas Carvalho.


Details

Column Type Description

Models / Seeds

  • source.trase_duckdb.trase-storage-raw.bolivia_soy_production_2013_2021
  • source.trase_duckdb.trase-storage-raw.bo_municipalities

Sources

  • ['trase-storage-raw', 'bolivia_soy_production_2013_2021']
  • ['trase-storage-raw', 'bo_municipalities']

No called script or script source not found.

import pandas as pd


def model(dbt, cursor):
    dbt.source("trase-storage-raw", "bolivia_soy_production_2013_2021")
    dbt.source("trase-storage-raw", "bo_municipalities")

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