Subnational Soy Conversion Risk
s3://trase-storage/spatial/risk_benchmark/subnational_risk_assessment/soy/out/subnational_SOY_conversion_risk.csv
Dbt path: trase_production.main.subnational_soy_conversion_risk
Explore on Metabase: Full table; summary statistics
Containing yaml file link: trase/data_pipeline/models/spatial/risk_benchmark/subnational_risk_assessment/soy/out/_schema.yml
Model file link: trase/data_pipeline/models/spatial/risk_benchmark/subnational_risk_assessment/soy/out/subnational_soy_conversion_risk.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, out, risk_benchmark, soy, spatial, subnational_risk_assessment
subnational_soy_conversion_risk
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 Osvaldo Pereira.
Details
| Column | Type | Description |
|---|---|---|
Models / Seeds
source.trase_duckdb.trase-storage-raw.ibge_brazil_soy_production_2016_2020source.trase_duckdb.trase-storage-raw.ibge_brazil_soy_area_2016_2020source.trase_duckdb.trase-storage-raw.br_ecosystem_deforestation_2009_2020_q2_2022_geesource.trase_duckdb.trase-storage-raw.br_soy_deforestation_2019_2020_q2_2022_gee
Sources
['trase-storage-raw', 'ibge_brazil_soy_production_2016_2020']['trase-storage-raw', 'ibge_brazil_soy_area_2016_2020']['trase-storage-raw', 'br_ecosystem_deforestation_2009_2020_q2_2022_gee']['trase-storage-raw', 'br_soy_deforestation_2019_2020_q2_2022_gee']
No called script or script source not found.
import pandas as pd
def model(dbt, cursor):
dbt.source("trase-storage-raw", "ibge_brazil_soy_production_2016_2020")
dbt.source("trase-storage-raw", "ibge_brazil_soy_area_2016_2020")
dbt.source("trase-storage-raw", "br_ecosystem_deforestation_2009_2020_q2_2022_gee")
dbt.source("trase-storage-raw", "br_soy_deforestation_2019_2020_q2_2022_gee")
raise NotImplementedError()
return pd.DataFrame({"hello": ["world"]})