@TheyWorkForYou – @EmmaReynoldsmp is saying that you refused to note that she was on maternity leave next to her voting record? Is that true? Is that something that is under active discussion? it seems to penalise female MPs as it stands https://t.co/7FfPFLY2EP
— Simon Burall (@sburall) February 1, 2018
TheyWorkForYou refusing to note that an MP was on maternity leave? Wait, that doesn’t sound like us…
TheyWorkForYou has one main aim: to make it extremely easy to see what’s going on in Parliament. To that end, we publish debates, voting records, and all sorts of details about MPs such as their job titles, expenses, and even which words they use most often.
Sometimes, interpreting all of these facts needs a little context. Case in point: when an MP is off on extended sickness or maternity leave, the number of speeches and votes they make will, of course, go down. There are many little exceptions like this, in fact: for example, my own MP was, for a while, a teller, meaning that he counted votes and was not normally allowed to vote himself. As you’d expect, this had quite an effect on his voting tally.
Now, the trouble with these exceptions is that they’re not easy to code. Most of TheyWorkForYou’s data actually comes from Parliament itself: they provide all the day’s debates, for example, as XML code, which our automated scripts pick up and publish out in the nice, readable format you see each morning on TheyWorkForYou. That’s how we’re able to publish such a large quantity of content on so many MPs: if TheyWorkForYou was compiled editorially, it’d require a far larger staff than we have.
So in fact, when Emma Reynolds got in touch to ask that we note her maternity leave on TheyWorkForYou, we didn’t refuse. Rather, we told her the truth: that it was a tricky issue that would require a manual bit of coding, but we’d add it to our development list and hopefully get to it.
And that’s what we did. The trouble is, our development list is long, and we’re constantly having to make decisions about what to prioritise. This ticket is now a few years old (Ms Reynolds was not the first to ask for a note on her record to explain special circumstances) and it hasn’t yet risen to the top of the list above bug fixes and other more urgent additions. TheyWorkForYou is currently unfunded, so of course, projects which have funding and expectations/deadlines attached to that funding take priority.
Note: In retrospect, we recognise that the advice below is not strictly relevant to this post. While we do very much need funding, and also do very much encourage anyone with coding skills to come and help out with our backlog, these two solutions would not alleviate the main obstacle to the issue above, which is that the required data isn’t output by Parliament. So, feel free to read on if you like, but with that in mind. mySociety CEO Mark Cridge put out a series on tweets on Friday which clarify our thinking; you can see those here.
Until we’re able to prioritise this piece of work (or any other that our users/MPs would like to see), there are a couple of solutions.
Ask for Parliament to add such information to their output
As mentioned above, most of TheyWorkForYou’s content is automated, so if there were a data source to show that an MP was on a leave of absence, we could easily pick it up and include it on their page. We’ve asked an MP’s office about this but they replied:
We are not aware of any official source of information about an MP taking leave of absence.
From our point of view, this would be far preferable to a manual solution, which would rely on MPs getting in touch themselves to let us know when exceptions applied. This would almost certainly lead to a situation where some did, and some didn’t, meaning the information could look more accurate than it really was. Many researchers use our outputs, so we wouldn’t want this to become the foundation of a study on MPs’ leaves of absence!
Be the change you want to see
OK, that’s a bit of a hippy-esque maxim, but in this case it’s quite apt.
A small job like this would not take very long or cost very much — the reason we haven’t yet managed it isn’t because it’s a massive piece of work, but because there are so many other pressing tasks.
An MP (or anyone) who wanted to see a new feature could help by making a donation. If you specify that it is for a particular addition to the site, we’ll get back to you to discuss how viable that is, and how we can make it happen.
Or do it yourself! Like most mySociety projects, TheyWorkForYou runs on Open Source code. That means that, if you have development skills, you are very welcome to fork the code and make a pull request for whatever improvements or additions you like. We’ll gratefully merge in any that fit with the site (have a chat with us first to make sure everyone’s on the same page).
If you’re not a developer (say, for example, you’re an MP), you could even contract one to do this for you.
We hope that’s cleared things up a bit. We’re not out to demonise MPs who take maternity leave, honest. And we’ve lodged an official request for a correction from the Times.
Image: Erik Lundqvist