Elections data test: September 10

11/09/2019 – updated following completion of successful test

09/09/2019 – updated with new guidance about the Speaker’s seat at a general election.

PA ran a UK general election data test on Tuesday, September 10, with the aim of providing customers with a fresh, full set of test nominations and results, particularly in XML format for digital, in advance of a possible snap general election.

We sent live test results for all 650 Commons constituencies, as well as corrections, recount messages, State of Parties statistics and some wire statistics.

This test should assist customers with preparations for the eventuality of another snap general election. A similar test took place in January.

The XML files from these tests can be found in downloadable ZIP folders on the Example XML page.

The latest test used the spread of parties and candidates from the general election in June 2017 but with the addition of the Brexit and Change parties and some adjustments to take account of more recent suspensions and defections.

Note that fictitious candidate names and randomly-generated figures are used in PA’s general election tests.

It was reported before the latest test that the Conservatives intended to break convention and put up a candidate to oppose Commons Speaker John Bercow in his Buckingham seat at the next general election. However, Mr Bercow later announced he would stand down on October 31 and that his replacement should be in place before dissolution.

For one of the main parties to oppose the Speaker at a general election would have significant implications for the way PA normally calculates its key State of Parties statistics, under which the Speaker’s seat is always counted with those of the main party for which he or she previously was elected. We would have to consider how best to deal with this situation, should it arise in future. This scenario was not covered in the September 10 test, which ran with the Speaker’s Buckingham seat included with the Conservatives in the SoP, as before.

See XML format for information about the format, structure and delivery of PA’s general election (first-past-the-post) data messages in XML format, as well as the description of XML messages for general elections at First-past-the-post and PR Top-up XML.

IMPORTANT NOTE FOR XML USERS: The IDs of entities provided in the election tests are NOT the same as those provided in the real data, such as for parties. Please do NOT configure your system for a real election event using the IDs provided in the test data. THEY WILL NOT BE THE SAME. See the guidance at XML format

A detailed advisory covering content, process and timing for PA’s elections data will be provided on this website once a general election is called.

The advisory will include information on elections messages sent on the wire in plain text (TTY) and data format, along with catchlines and category codes. General information about wire format can be found in the document downloadable from the Wire format page on this site.

A test programme, giving the dates and times of tests in the run-up to polling day, would be made available.

Estimated declaration times would be added at a later stage, once information has been gathered from all councils running the poll in their areas.

Downloadable zip files with sets of test and historical nominations and results messages in XML format are available in Example XML.

IMPORTANT: Customers are reminded to clear out any test material from their systems before polling day.

Parties and abbreviations for September 10 test
Abbreviations of parties stabnding in the Test Snap General Election:
Conservative C
Labour and CooperativeLab Co-op
Liberal DemocratLD
Plaid CymruPC
Scottish National PartySNP
Brexit PartyBrexit
The Independent Group for ChangeChange
UK Independence PartyUKIP
Democratic Unionist PartyDUP
Ulster Unionist PartyUUP
Social Democratic and Labour PartySDLP
Sinn FeinSF
Alliance for Green SocialismGreen Soc
Animal Welfare PartyAWP
Apolitical DemocratsAD
Better For BradfordBradford
Blue RevolutionBlue
British National PartyBNP
Christian Peoples AllianceCPA
Church of the Militant ElvisElvis
Citizens Independent Social Thought AllianceCitizens
Communist LeagueComm Lge
Compass PartyCompass
Demos Direct InitiativeDDI
English DemocratsEng Dem
Friends PartyFriends
Greater Manchester Homeless VoiceGM Homeless
Independent Andrew Newton TestInd
Independent Anne Hawkins TestInd
Independent Anne Hutton TestInd
Independent Barbara Jones TestInd
Independent Bob Squire TestInd
Independent Dave Brown TestInd
Independent David Cooper TestInd
Independent Dick Morgan TestInd
Independent Dick Robinson TestInd
Independent Dot Griffiths TestInd
Independent Gerald Gibson TestInd
Independent Helen Newton TestInd
Independent Ian Reid TestInd
Independent Jim Charlesworth TestInd
Independent John Bennett TestInd
Independent John Jenkins TestInd
Independent John Randall TestInd
Independent John Stuart TestInd
Independent John Taylor TestInd
Independent Judith King TestInd
Independent Ken Muir TestInd
Independent Marc Ritchie TestInd
Independent Margaret Cooke TestInd
Independent Michael McKee TestInd
Independent Micky Stevenson TestInd
Independent Micky Taylor TestInd
Independent Pamela Thomas TestInd
Independent Pete Browne TestInd
Independent Peter Bell TestInd
Independent Sovereign Democratic BritainSovereign
Independent Steve Day TestInd
Independent Tim Shaw TestInd
Independent Vince Day TestInd
Independent Yvonne Moss TestInd
Justice and Anti-Corruption PartyJACP
Libertarian PartyLibertarian
Money Free PartyMoney
Monster Raving Loony PartyLoony
Movement for Active DemocracyActive Dem
National Health Action PartyNHAP
No descriptionND
No description Andy Shaw TestND
No description Dave Shaw TestND
No description Mary Reed TestND
No description Peter Shaw TestND
North of England Community AllianceNorth
Open Borders PartyOpen
People Before ProfitPBP
Pirate Party UKPirate
Populist PartyPopulist
Rebooting DemocracyRebooting
Scotland's Independence Referendum PartyReferendum
Scottish Christian PartySCP
Social Democratic PartySoc Dem
Socialist Labour PartySoc Lab
Socialist Party of Great BritainSPGB
Something NewS New
Southampton IndependentsSouthampton
Southend Independent AssociationSouthend
Space Navies PartySpace
The Common GoodGood
The Just Political PartyJust
The New Society of WorthWorth
The North East PartyNE Party
The Peace PartyPeace
The Radical PartyRadical
The Realists' PartyRealist
The SpeakerSpeaker
The Yorkshire PartyYorkshire
Traditional Unionist VoiceTUV
War Veteran's Pro-Traditional Family PartyWVPTFP
Wessex RegionalistWessex Reg
Women's Equality PartyWomen
Workers' PartyWP
Workers' Revolutionary PartyWRP
Young People's Party UKYoung
Abbreviations of additional parties which stood in the Snap General in 2017:
Independent Aleks LukicInd
Independent Arthur DevineInd
Independent Caroline ShearerInd
Independent Claire WrightInd
Independent Dale KalamazadInd
Independent David HopkinsInd
Independent David PlumsteadInd
Independent Gavan ReynoldsInd
Independent George GallowayInd
Independent Gordon JohnsonInd
Independent Grant SmithInd
Independent Hugh EasterbrookInd
Independent Hugo SuggInd
Independent Iain Scott-BurdonInd
Independent Ian FoxInd
Independent James TorranceInd
Independent Jandy SpurwayInd
Independent John FreemanInd
Independent Lee McCallInd
Independent Michael Val DaviesInd
Independent Mike BaldockInd
Independent Mohammed HanifInd
Independent Naomi SladeInd
Independent Nick MartinInd
Independent Peter FaithfullInd
Independent Peter MarshallInd
Independent Phil GrayInd
Independent Rainbow George WeissInd
Independent Robin LambertInd
Independent Russell HiggsInd
Independent Sasha NorrisInd
Independent Sujata BarotInd
Independent Sylvia HermonInd
Independent Tom DarwoodInd
Independent Yemi HailemariamInd
Independent Yen Lin ChongInd
No description Bobby SmithND
No description Hussain KhadimND
No description Lord BucketheadND
No description Salma YaqoobND
Abbreviations of additional parties which stood in the Lewisham East by-election in 2018:
Democrats and Veterans PartyDVP
For Britain MovementFBM
Young People's PartyYPP
Abbreviations of additional parties which stood in the Newport West by-election in 2019:
Abolish Welsh AssemblyAssembly
Abbreviations of additional parties which stood in the Peterborough by-election in 2019:
Christian People's AllianceCPA
Common GoodCG
No description MooreND
No description SmithND
UK European Union PartyUKEUP