Over the past few sprints we have been looking at ways we can show some more information about members, using data we already have and by adding some value to the content produced by the Hansard team to expose the huge amount of information they produce in some different formats.
So we’ve come up with the Members Data Portal. At the moment this is somewhere between an alpha and a beta, but we want to share it now as if we keep waiting for something we are totally happy with we’ll likely end up never deploying. The data is not official or 100% accurate (yet) but its a good start point I hope you’ll agree.
The first set of information we are exposing is the memberships of both the Commons and the Lords. This allows you to review how the make-up of parliament has changed over time. This data is sourced from the Members Data Platform and makes interesting reading in terms of not only majorities, but also how the gender balance has changed over time as well.
Right now there is no parliamentary data service that offers easily searchable results of divisions in the Commons (but we do have for the Lords and it’s getting better), and as our MPs are representing all of us, it seemed as good a place as any to try to expose in an easily searchable format how MPs have been voting.
We have created a couple of different takes on this data. Firstly you can review divisions for any given day. At this time only divisions that took place in the chamber are available to search (deferred divisions are recorded differently and we haven’t tackled that just yet). On the calendar control you will see certain days shaded. These are days with divisions recorded. Click through to review what divisions happened, what they were about (we link to bill information where we’ve been able to work it out!), who voted and how.
A second take on this data is how a specific member has voted, this tool allows you to choose a member (find yours using our MP finder tool) and review how they have voted in divisions over a set time period. Hit the all divisions checkbox to see the divisions that an MP did not vote in, now there are any number of reasons this could have happened, but it is interesting to see when it did.
Both of the above are also available for the House of Lords, although this does exist elsewhere we want to do more with debate outputs in future so this seemed a useful thing to do in passing.
Finally (and maybe most excitingly) we have created a tool to enable full text searching of contributions for both the Commons and the Lords, essentially who said what and when. Simply choose a member, or maybe search all members, enter a search term and away you go. This makes it very easy to find out who is talking about the key issues of the day. Results are ranked by relevancy to help you find what you are looking for.
We have captured data from the start of the last session (8th May 2013), that is 90,000 contributions at the time of writing. Due to the size of the data set, right now we are restricting all queries to a maximum of 3 months of data at a time, but will soon add paging to the results enabling you to scour all the data in one go.
Coming soon… outputting the content of debates in a more modern way and linking to them from divisions and contributions to help give more context to what has been happening, we want to do some data visualisations around what we’ve captured, and we will expose the underlying data service that powers our portal to anyone who is interested.
UPDATE (3/6) : The data service is now available here