General Elections and By-elections

This dataset contains data on General and by-elections.

A General election is when the electors of the country cast their votes to elect Members of Parliament.

After the Fixed Term Parliament Act was passed on 15 September 2011, the date of the next general election is set at 7 May 2015. The act provides for General elections to be held on the first Thursday in May every five years. There are two provisions that trigger an election other than at five year intervals.

A motion of no confidence is passed in Her Majesty's Government by a simple majority and 14 days elapses without the House passing a confidence motion in any new Government formed

A motion for a general election is agreed by two thirds of the total number of seats in the Commons including vacant seats (currently 434 out of 650)

Once the dissolution of Parliament has been announced, the Clerk of the Crown in Chancery issues Writs of Election. At this time the date of meeting for the new Parliament will also be announced. Although the Government continues in office, there cease to be any MPs and they may not use the facilities of the House while the general election is in progress. At the beginning of a new Parliament the Clerk of the Crown in Chancery will deliver to the Clerk of the House a return book, which lists the Members who won constituency seats and therefore have the right to serve in Parliament.

A by-election occurs when a seat in the House of Commons becomes vacant during the lifetime of a Parliament (ie between general elections), because the sitting MP dies, resigns (by applying for the Chiltern Hundreds or the Manor of Northstead), is elevated to the peerage or becomes ineligible to sit for some other reason. More can be found here: http://www.parliament.uk/site-information/glossary/by-elections/

Election Data Search

This provides a user interface which allows you to search the dataset using multiple filters. Selecting this option will show you the first few records from the dataset and then allow you to select data from the dataset by filtering on any of the attributes for the election. You will then be able to download or display the data in a number of formats, such as CSV (eg for use in Excel), XML, JSON or RDF (eg for developers)

Elections API

Developers can build API calls using the explorer tool. Help for the APIs can be found at http://explore.data.parliament.uk/?learnmore=Elections

Election Results Search

This provides a user interface which allows you to search elections results using multiple filters. Selecting this option will show you the first few records from the dataset and then allow you to select data from the dataset by filtering on any of the attributes for the election. You will then be able to download or display the data in the following formats: CSV (e.g. for use in Microsoft Excel), TTL, Text, XML, JSON or RDF (e.g. for developers)

Election Results API

Developers can build API calls using the explorer tool. Help for the APIs can be found at http://explore.data.parliament.uk/?learnmore=Election%20Results

Elections Atom feed

This feed contains the 20 most recent resources for Elections. This format is mainly for developers. You can refer to http://api.data.parliament.uk/help for help on the syntax for atom feed requests.