Skip to content

Beef Cnpj 2020 New

s3://trase-storage/brazil/beef/auxiliary/cnpj/BEEF_CNPJ_2020_NEW.csv

Dbt path: trase_production.main_brazil.beef_cnpj_2020_new

Explore on Metabase: Full table; summary statistics

Containing yaml file link: trase/data_pipeline/models/brazil/beef/auxiliary/cnpj/_schema.yml

Model file link: trase/data_pipeline/models/brazil/beef/auxiliary/cnpj/beef_cnpj_2020_new.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, auxiliary, beef, brazil, cnpj


beef_cnpj_2020_new

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

  • model.trase_duckdb.cd_disaggregated_beef_2020_new
  • model.trase_duckdb.zdc_data_collection_2020_br_beef
  • model.trase_duckdb.beef_cnpj_2019
  • model.trase_duckdb.brazil_sif_inspected_beef_establishments_2020

No called script or script source not found.

import pandas as pd


def model(dbt, cursor):
    dbt.ref("cd_disaggregated_beef_2020_new")
    dbt.ref("zdc_data_collection_2020_br_beef")
    dbt.ref("beef_cnpj_2019")
    dbt.ref("brazil_sif_inspected_beef_establishments_2020")

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