Skip to content

Beef Cnpj 2014 New

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

Dbt path: trase_production.main_brazil.beef_cnpj_2014_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_2014_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_2014_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

  • source.trase_duckdb.trase-storage-raw.beef_cnpj_2015
  • model.trase_duckdb.brazil_sif_inspected_beef_establishments_2018
  • model.trase_duckdb.cd_combined_beef_2014_new

Sources

  • ['trase-storage-raw', 'beef_cnpj_2015']

No called script or script source not found.

import pandas as pd


def model(dbt, cursor):
    dbt.ref("brazil_sif_inspected_beef_establishments_2018")
    dbt.ref("cd_combined_beef_2014_new")
    dbt.source("trase-storage-raw", "beef_cnpj_2015")

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