Skip to content

Bolivia Soy Export 2021

s3://trase-storage/bolivia/trade/cd/export/soy/out/bolivia_soy_export_2021.csv

Dbt path: trase_production.main.bolivia_soy_export_2021

Explore on Metabase: Full table; summary statistics

Containing yaml file link: trase/data_pipeline/models/bolivia/trade/cd/export/soy/out/_schema.yml

Model file link: trase/data_pipeline/models/bolivia/trade/cd/export/soy/out/bolivia_soy_export_2021.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, cd, export, out, soy, trade


bolivia_soy_export_2021

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 Nanxu Su.


Details

Column Type Description

Models / Seeds

  • source.trase_duckdb.trase-storage-raw.bolivia_assets
  • source.trase_duckdb.trase-storage-raw.bolivia_export_1507_jan18_dec18
  • source.trase_duckdb.trase-storage-raw.boliva_export_12019000000_12081000000_15071000000_15079090000_23040000000_year2020
  • source.trase_duckdb.trase-storage-raw.boliva_export_1507_2304_jan19_dec19
  • source.trase_duckdb.trase-storage-raw.bolivia_export_2304_jan18_dec18
  • source.trase_duckdb.trase-storage-raw.bolivia_export_120190_120810_150710_150790_230250_230400_year2021

Sources

  • ['trase-storage-raw', 'bolivia_assets']
  • ['trase-storage-raw', 'bolivia_export_1507_jan18_dec18']
  • ['trase-storage-raw', 'boliva_export_12019000000_12081000000_15071000000_15079090000_23040000000_year2020']
  • ['trase-storage-raw', 'boliva_export_1507_2304_jan19_dec19']
  • ['trase-storage-raw', 'bolivia_export_2304_jan18_dec18']
  • ['trase-storage-raw', 'bolivia_export_120190_120810_150710_150790_230250_230400_year2021']

No called script or script source not found.

import pandas as pd


def model(dbt, cursor):
    dbt.source("trase-storage-raw", "bolivia_assets")
    dbt.source("trase-storage-raw", "bolivia_export_1507_jan18_dec18")
    dbt.source(
        "trase-storage-raw",
        "boliva_export_12019000000_12081000000_15071000000_15079090000_23040000000_year2020",
    )
    dbt.source("trase-storage-raw", "boliva_export_1507_2304_jan19_dec19")
    dbt.source("trase-storage-raw", "bolivia_export_2304_jan18_dec18")
    dbt.source(
        "trase-storage-raw",
        "bolivia_export_120190_120810_150710_150790_230250_230400_year2021",
    )

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