D62b — Holyrood publishes every member's vote as data; a council publishes its committee's vote only in a minute¶
- Status: Accepted
- Date: 2026-09-29
- Origin: slice 37, reading the sources for how Scotland's representatives voted on data centres
- Area: findings
Decision¶
- Holyrood (data.parliament.scot):
- no key, and whole datasets rather than pages: a year of divisions is 26 MB (one
row per member per division), and every motion ever lodged is one 111 MB file
that ignores
?year=; - they are read once within
refresh_hours, and only the rows read are kept (polite.HOST_LIMITS: 2 s, 40 a day, 150 MB, 180 s).
Its traps:
- every row of MemberElectionConstituencyStatuses is a seat held, and
ElectionStatusID says only whether it is held now (1, "Current") or ended
(2, "Not Current"). The first real run read 2 as a candidacy and dropped
every former member's seats;
- a question's answering minister is a display name, matched to one member or left
unlinked;
- members carries a photograph URL and a birth-date field, never read.
- The final division on a motion is on its amended words. On S7M-01177 the SNP
amendment (.5) replaced the moratorium before the motion was put, so "for the
motion" at the end was not a vote for a moratorium. The divisions are shown in the
order taken, each with its own words.
- Councillors come from Democracy Club (CC BY 4.0): one listing per council for
the 2022 election, and one for every Scottish by-election since.
- It says who was elected, not who sits now. A by-election does not say whose seat
it filled, so each is reported, to be checked against the council's own list.
- A council's committee vote is only in its minute: a PDF on the council's own
committee system (ModernGov, CMIS, CoInS, eGenda or its website). Named votes
appear only where there was a division.
- Some *.moderngov.co.uk hosts challenge scripted readers, so a person reads the
minute and passes its text.
- MapIt places a point in its 2026 Holyrood constituency and region, and in its
ward, with GSS codes. It answers 50 lookups without a key.
- postcodes.io does not have the 2026 constituencies.
Why¶
These are properties of the sources, not of kg. Each one changed what the importers read, what they keep, or what a page may say.