Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update PublicWhip parliaments list to include 2010 election #4

Merged
merged 1 commit into from

2 participants

@srushe

Currently the data page on public whip doesn't have separate files for the House of Commons since the 2010 election. This means that the votematrix-2005.dat file includes votes which have happened since the last election.

@pwaring pwaring merged commit f8c074f into publicwhip:master
@pwaring

Looks good to me, have merged it and will push it onto the PublicWhip site today, so it should take effect tomorrow.

Thanks for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 26, 2011
  1. @srushe
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 1 deletion.
  1. +2 −1  loader/PublicWhip/Parliaments.pm
  2. +2 −0  website/project/data.php
View
3  loader/PublicWhip/Parliaments.pm
@@ -21,7 +21,8 @@ package PublicWhip::Parliaments;
use strict;
our @list = ( # put newer Parliaments first
- { id => '2005', from => '2005-05-05', to => '9999-12-31', name => '2005' },
+ { id => '2010', from => '2010-05-18', to => '9999-12-31', name => '2010' },
+ { id => '2005', from => '2005-05-05', to => '2010-04-12', name => '2005' },
{ id => '2001', from => '2001-06-07', to => '2005-04-11', name => '2001' },
{ id => '1997', from => '1997-05-01', to => '2001-05-14', name => '1997' }
);
View
2  website/project/data.php
@@ -46,6 +46,8 @@
<a href="../data/votematrix-2001.txt">votematrix-2001.txt</a>
<br><a href="../data/votematrix-2005.dat">votematrix-2005.dat</a>
<a href="../data/votematrix-2005.txt">votematrix-2005.txt</a>
+<br><a href="../data/votematrix-2010.dat">votematrix-2010.dat</a>
+<a href="../data/votematrix-2010.txt">votematrix-2010.txt</a>
<br><a href="../data/votematrix-lords.dat">votematrix-lords.dat</a>
<a href="../data/votematrix-lords.txt">votematrix-lords.txt</a>
Something went wrong with that request. Please try again.