feat(appliance): initial release of MERICA standalone appliance v1.0.0

This commit is contained in:
2026-10-21 17:16:46 +07:00
commit 851be0cda7
144 changed files with 31135 additions and 0 deletions
@@ -0,0 +1,16 @@
{{ config(
materialized='table',
schema='gold'
) }}
SELECT
stasiun_id,
nama_stasiun,
CAST(recorded_at AS DATE) AS observation_date,
AVG(pm25_value) AS avg_pm25,
MAX(pm25_value) AS max_pm25,
AVG(pm10_value) AS avg_pm10,
MAX(pm10_value) AS max_pm10,
CURRENT_TIMESTAMP AS refreshed_at_gold
FROM {{ ref('silver_spku_sensor_clean') }}
GROUP BY 1, 2, 3