DBT: Beef Cnpj 2016 New
File location: s3://trase-storage/brazil/beef/auxiliary/cnpj/BEEF_CNPJ_2016_NEW.csv
DBT model name: beef_cnpj_2016_new
Explore on Metabase: Full table; summary statistics
DBT details
- Lineage
-
Dbt path:
trase_production.main_brazil.beef_cnpj_2016_new -
Containing yaml link: trase/data_pipeline/models/brazil/beef/auxiliary/cnpj/_schema.yml
-
Model file: trase/data_pipeline/models/brazil/beef/auxiliary/cnpj/beef_cnpj_2016_new.py
-
Calls script:
trase\tools\aws\metadata.py -
Tags:
mock_model,auxiliary,beef,brazil,cnpj
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_2016model.trase_duckdb.cd_combined_beef_2016_newmodel.trase_duckdb.brazil_sif_inspected_beef_establishments_2018model.trase_duckdb.zdc_data_collection_2016_br_beef
Sources
['trase-storage-raw', 'beef_cnpj_2016']
No called script or script source not found.
import pandas as pd
def model(dbt, cursor):
dbt.source("trase-storage-raw", "beef_cnpj_2016")
dbt.ref("cd_combined_beef_2016_new")
dbt.ref("brazil_sif_inspected_beef_establishments_2018")
dbt.ref("zdc_data_collection_2016_br_beef")
raise NotImplementedError()
return pd.DataFrame({"hello": ["world"]})