feat(pipeline): include 'Open, but proposed to close' schools in dims

These schools are still operating and publish results; they drop out
automatically when GIAS flips them to Closed since marts fully rebuild
each run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
TudorandClaude Fable 5 committed 2026-07-08 21:54:08 +01:00
1 parent 45c68b60b4
commit de81e9cdbd
3 files changed
+7 -3

No files matched your search

@@ -31,4 +31,5 @@ select
else null
end as longitude
from {{ ref('stg_gias_establishments') }} s
where s.status = 'Open'
-- Must match dim_school's status filter exactly (the API inner-joins the two).
where s.status in ('Open', 'Open, but proposed to close')