feat: initial commit for merica-pipeline delivery

This commit is contained in:
MERICA Admin
2026-10-08 19:33:15 +07:00
commit 42fedab752
46 changed files with 5484 additions and 0 deletions
@@ -0,0 +1,14 @@
{{ config(
materialized='table',
schema='gold'
) }}
SELECT
kecamatan,
tanggal_laporan,
COUNT(lokasi_tps) AS total_tps,
SUM(volume_sampah_m3) AS total_volume_sampah_m3,
AVG(volume_sampah_m3) AS avg_volume_per_tps_m3,
CURRENT_TIMESTAMP AS refreshed_at_gold
FROM {{ ref('silver_gws_waste_reports_clean') }}
GROUP BY 1, 2