Add new calculate scripts, add in historical data import

This commit is contained in:
2025-03-30 10:30:13 -04:00
parent 4c4359908c
commit 047122a620
9 changed files with 1990 additions and 28 deletions

View File

@@ -5,7 +5,7 @@
DO $$
DECLARE
_module_name VARCHAR := 'daily_snapshots';
_module_name TEXT := 'daily_snapshots';
_start_time TIMESTAMPTZ := clock_timestamp(); -- Time execution started
_last_calc_time TIMESTAMPTZ;
_target_date DATE := CURRENT_DATE; -- Always recalculate today for simplicity with hourly runs