Public Whip

The Public Whip is a parliamentary informatics project that analyses and publishes the voting history of MPs in the Parliament of the United Kingdom.

It was developed by Francis Irving and Julian Todd following the 18 March 2003 Parliamentary Approval for the invasion of Iraq as a tool to record which MPs had defied their party's whip long after the information had become effectively inaccessible for reference.

On 1 August 2011 Irving and Todd handed control of the site to a new team.[1]

The project is loosely affiliated to mySociety's TheyWorkForYou with which it shares a large part of the same parliamentary parsing code-base.

In 2014 the OpenAustralia Foundation launched a fork of the project for Australia's federal parliament called They Vote For You .

Awards and funding

In 2004 the Public Whip won the New Statesman New Media Award for "civic renewal".[2]

The site has never received a grant from any funding body and remains entirely paid for by its creators, including server costs and bandwidth.[3]


Originally the software was written in Perl, and then later rewritten in Python. The main process downloads the daily transcripts from the online Hansard, matches and assigns IDs to the names of MPs, and saves them into XML files. These are later uploaded into a mySQL table and viewed through PHP webpages.

At the end of 2003 the project was extended to read the archive of Parliamentary Written Answers. Following a request from mySociety, the Parliamentary Parser[4] was expanded to include House of Commons and Westminster Hall debates, and finally the House of Lords, which are all more or less in the same format. It is now maintained by them to provide the data to their TheyWorkForYou website.


The website has occasionally been cited in newspaper articles, and is sometimes referred to in election material.[5] It has also been used to provide voting analysis to citizens during elections.


An election quiz which advised voters of which party or incumbent candidate most closely matched their political opinions (according to the Parliamentary vote) was on the site for the 2005 General election and received over 10,000 hits.

In anticipation of preparing a version of it again for the next general election, Julian has distributed leaflets and tried out variations of the site at the 2008 Crewe and Nantwich by-election[6][7] and the 2008 Glenrothes by-election.[8]


Francis Irving currently does programming work for mySociety, most recently WhatDoTheyKnow, a site that provides an on-line interface to the Freedom of Information Act 2000.

Julian Todd has extended the concept of parsing transcripts for speeches and votes to the General Assembly and Security Council of the United Nations with a website called established in 2007.[9] The work was motivated by the discovery of the transcripts on-line during research into the application of United Nations Security Council Resolution 1267 in his home town of Liverpool.[10]


  1. Katy (6 August 2011). "Okay, so what are you going to do with it?".
  2. "New Media Awards TwoThousandAndFour". New Statesman. 2004.
  3. "FAQ: Do you make any money out of Public Whip".
  4. "Parliament Parser (Parlparse)". Archived from the original on 2006-07-16. Retrieved 2006-06-26.
  5. Francis Irving (3 March 2005). "Found this week in Bristol election leaflet".
  6. "The Public Whip Crewe". 19 May 2008.
  7. Ozimek, John (17 May 2008). "Can't decide how to vote? will tell you". TheRegister.
  8. "The long winding road in Glenrothes". 4 November 2008.
  9. Grossman, Wendy (13 March 2008). "Is it possible for geeks to fix the United Nations?". The Guardian.
  10. "The UN as evidenced on the streets of Liverpool". Freesteel blog. 4 September 2006.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.