All answers to written parliamentary questions are available on the Parliament’s website, the search facility for which can be found at: http://www.scottish.parliament.uk/webapp/wa.search.As indicated in that answer,the information is derived from data collected annually by the ScottishExecutive Education Department on the opening and closing of schools.