feat(appliance): initial release of MERICA standalone appliance v1.0.0
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
-- dbt Bronze View Model: environmental_permits
|
||||
{{ config(materialized='view') }}
|
||||
|
||||
SELECT
|
||||
permit_id,
|
||||
permit_number,
|
||||
applicant_name,
|
||||
company_name,
|
||||
business_type,
|
||||
activity_type,
|
||||
activity_type AS permit_type,
|
||||
location,
|
||||
status,
|
||||
environmental_score,
|
||||
issued_date,
|
||||
expiry_date,
|
||||
created_at,
|
||||
updated_at
|
||||
FROM {{ source('public', 'environmental_permits') }}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
-- dbt Bronze View Model: raw_cems_telemetry_logs
|
||||
{{ config(materialized='view') }}
|
||||
|
||||
SELECT * FROM {{ source('public', 'raw_cems_telemetry_logs') }}
|
||||
@@ -0,0 +1,4 @@
|
||||
-- dbt Bronze View Model: ref_emission_sources
|
||||
{{ config(materialized='view') }}
|
||||
|
||||
SELECT * FROM {{ source('public', 'ref_emission_sources') }}
|
||||
@@ -0,0 +1,15 @@
|
||||
-- dbt Bronze Ref Facilities Model
|
||||
{{ config(materialized='view') }}
|
||||
|
||||
SELECT
|
||||
facility_id,
|
||||
facility_name,
|
||||
operator_name,
|
||||
license_number,
|
||||
region_zone,
|
||||
facility_type,
|
||||
max_daily_capacity_ton,
|
||||
facility_status,
|
||||
compliance_rating,
|
||||
created_at
|
||||
FROM {{ source('public', 'ref_waste_facilities') }}
|
||||
@@ -0,0 +1,4 @@
|
||||
-- dbt Bronze View Model: stasiun_spku
|
||||
{{ config(materialized='view') }}
|
||||
|
||||
SELECT * FROM {{ source('public', 'stasiun_spku') }}
|
||||
@@ -0,0 +1,16 @@
|
||||
-- dbt Bronze Raw Waste Orders Model
|
||||
{{ config(materialized='view') }}
|
||||
|
||||
SELECT
|
||||
order_id,
|
||||
manifest_code,
|
||||
facility_id,
|
||||
generator_company,
|
||||
waste_category,
|
||||
volume_ton,
|
||||
tariff_per_ton,
|
||||
transport_fee,
|
||||
order_status,
|
||||
order_date,
|
||||
created_at
|
||||
FROM {{ source('public', 'raw_waste_orders') }}
|
||||
Reference in New Issue
Block a user