warehouse.schooldimensionsurvey not keeping history of open schools to eventually close

Issue #626 resolved
Ghislain Hachey created an issue

Trying to do a simple table showing schools by region/authority code over last 5 years. A couple of schools where closed in 2017/18 therefore the Closed value becomes a year as opposed to 0 (for not closed). The warehouse puts those closed values (i.e. the year) for all survey years in warehouse.schooldimensionsurvey. I believe this to be a bug or at least not desirable behavior. The years when those schools were opened should have a 0 in the Closed field no?

Comments (3)

  1. Ghislain Hachey reporter

    I’m adding a screenshot to show more context. We were expecting the previous years to have slightly different schools.

  2. Brian Lewis repo owner

    Warehouse now has specific tables and views for reporting school counts; use these:

    warehouse.schoolsActive

    warehouse.SchoolCountTable

  3. Log in to comment