Public Whip

Last updated

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

Parliamentary informatics is the application of information technology to the documentation of legislative activity. The principal areas of concern are the provision, in a form conveniently readable to humans or machines, of information and statistics about:

Parliament of the United Kingdom Supreme legislative body of the United Kingdom

The Parliament of the United Kingdom of Great Britain and Northern Ireland, commonly known internationally as the UK Parliament, British Parliament, or Westminster Parliament, and domestically simply as Parliament or Westminster, is the supreme legislative body of the United Kingdom, the Crown dependencies and the British Overseas Territories. It alone possesses legislative supremacy and thereby ultimate power over all other political bodies in the UK and the overseas territories. Parliament is bicameral but has three parts, consisting of the Sovereign (Queen-in-Parliament), the House of Lords, and the House of Commons. The two houses meet in the Palace of Westminster in the City of Westminster, one of the inner boroughs of the capital city, London.


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.

Francis Irving computer programme and freedom of information activist

Francis Irving is a British computer programmer, activist for freedom of information and former CEO of ScraperWiki.

Julian Todd is a British computer programmer and activist for freedom of information who works in Liverpool.

Chief Whip position

The Chief Whip is a political office in some legislatures whose task is to administer the whipping system that tries to ensure that members of the party attend and vote as the party leadership desires.

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.

mySociety E-democracy project of the London-based registered charity, UK Citizens Online Democracy

mySociety is an e-democracy project of the UK-based registered charity named UK Citizens Online Democracy. It began as a UK-focused organisation with the aim of making online democracy tools for UK citizens. However, as those tools were open source, the code could be and soon was redeployed in other countries.

TheyWorkForYou Website by mySociety that monitors the four parliaments in the United Kingdom

TheyWorkForYou is a parliamentary monitoring website by mySociety which aims to make it easier for UK citizens to understand what is going on in Westminster, as well as the Scottish Parliament, the Welsh Assembly and the Northern Ireland Assembly. It also helps create accountability for UK politicians by publishing a complete archive of every word spoken in Parliament, along with a voting record and other details for each MP, past and present.

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]

<i>New Statesman</i> British political and cultural magazine

The New Statesman is a British political and cultural magazine published in London. Founded as a weekly review of politics and literature on 12 April 1913, it was connected then with Sidney and Beatrice Webb and other leading members of the socialist Fabian Society, such as George Bernard Shaw who was a founding director.

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]

Related Research Articles

Crispin Blunt British politician

Crispin Jeremy Rupert Blunt is a British Conservative Party politician. He has served as Member of Parliament (MP) for Reigate since 1997, and from May 2010 to September 2012 he was the Parliamentary Under-Secretary of State for Prisons and Youth Justice within the Ministry of Justice.

Eric Evlyn Illsley is a British Labour politician who was the Member of Parliament (MP) for Barnsley Central from 1987 until 2011. He was a Labour Party representative until suspended from the party after being charged with false accounting as part of the United Kingdom Parliamentary expenses scandal, and then sat as an Independent. When he pleaded guilty to three counts of false accounting on 11 January 2011, he became the first sitting Member of Parliament to be convicted of a criminal offence in the scandal. Illsley resigned from the House of Commons on 8 February 2011, following his conviction, and was sentenced to 12 months' imprisonment on 10 February 2011.

Alan Campbell (politician) British Labour politician

Sir Alan Campbell is a British Labour Party politician who has been the Member of Parliament (MP) for Tynemouth since 1997. He served as Parliamentary Under-Secretary of State at the Home Office from 2008 until 2010, and is currently the Deputy Chief Whip of the Labour Party.

John Pugh British politician

John David Pugh is a Liberal Democrat politician in the United Kingdom. He was the Member of Parliament for Southport from 2001-2017. He stood down at the 2017 snap election. In November 2017, he was elected to Sefton Metropolitan Borough Council as a councillor for Duke's Ward.

Gillian Merron British politician

Gillian Joanna Merron is the Chief Executive of the Board of Deputies of British Jews, and has served in the post since July 2014. A former British Labour Party Member of Parliament (MP) for Lincoln from 1997 to 2010, when she lost her seat. From 2009 to 2010 she was Minister of State with responsibility for Public Health at the Department of Health.

Neil Parish British Conservative politician

Neil Quentin Gordon Parish is a British Conservative Party politician. He is the former Member of Parliament (MP) for Tiverton and Honiton and was elected at the 2010 general election. He had been a Member of the European Parliament (MEP) for South West England from 1999 to 2009.

Greg Mulholland British politician

Gregory Thomas Mulholland is a Liberal Democrat politician in the United Kingdom who was the MP for Leeds North West.

James Duddridge British Conservative politician

James Philip Duddridge is a British Conservative politician and former banker. He has been the Member of Parliament for Rochford and Southend East since May 2005. He served as a government whip between May 2010 and September 2012 and as the Parliamentary Under-Secretary of State in the Foreign and Commonwealth Office between October 2015 and July 2016. He is currently Parliamentary Under-Secretary of State for Exiting the European Union.

Neil Carmichael (English politician) Former Conservative MP for Stroud

William Neil Carmichael is an English politician, and former Conservative Party Member of Parliament (MP) for Stroud from 2010 until 2017.

Jason McCartney (politician) British politician

Jason Alexander McCartney is a former TV sports reporter, British Conservative Party politician who served as the Member of Parliament (MP) for Colne Valley in West Yorkshire from 2010-2017.

Julian Smith (politician) British Conservative politician, MP for Skipton and Ripon

Julian Richard Smith is a British Conservative Party politician serving as Member of Parliament (MP) for Skipton and Ripon since the 2010 general election. In 2019 he was appointed Secretary of State for Northern Ireland.

Craig Whittaker British Conservative politician

Craig Whittaker is a British Conservative Party politician. He was first elected as the Member of Parliament (MP) for Calder Valley in 2010. Whittaker retained the seat in 2015 and in 2017.

Peter Grant (politician) Scottish SNP politician

Peter Grant is a Scottish National Party (SNP) politician. He is the Member of Parliament (MP) for Glenrothes, having been elected in the 2015 general election. He held this seat in the UK 2017 general election.

Imran Hussain is a British Labour Party politician and a barrister. He became the Member of Parliament (MP) for the constituency of Bradford East after gaining the seat from the Liberal Democrats at the 2015 general election.

Laura Smith (politician) British politician and Member of Parliament for Crewe and Nantwich

Laura Smith is a British Labour Party politician who was elected as the Member of Parliament (MP) for Crewe and Nantwich at the 2017 general election, defeating the incumbent Conservative Edward Timpson by 48 votes.


  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. "Archived copy". Archived from the original on 2006-07-16. Retrieved 2006-06-26.CS1 maint: archived copy as title (link)
  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.