Canadian Members of Parliament voting records (finally) online

Discuss

16 Responses to “Canadian Members of Parliament voting records (finally) online”

  1. Anonymous says:

    As a Canadian, i’m not sure how this will be particularly helpful. We have a very strong system of party discipline in canada, meaning, voting against your party on a given issues is tantamount to offering your resignation. Typically, when this happens the said MP will already have a plan to “cross the floor” and join an opposing party. it’s rare.

    I’m not saying that it’s not useful, but i’d hate to see our political discussion start looking like the US’s where past voting records are presented like catalogues of a politician’s hypocrisy. “so and so voted against helping the troops 29 times” and so on. These are almost always taken out of context and don’t necessarily represent the true views of whoever they are talking about.

  2. Anonymous says:

    It would be great to have Canadian provincial and territorial mpp votes and city councilor votes as well.

    http://www.howdtheyvote.ca/ was an excellent first start for federal mps. Our Parliament is also a great project http://ourparliament.ca/members.

    Some interesting work was done with http://www.voteforenvironment.ca/, where a user enters their postal code and gets a map of their electoral district accompanied with those up for elections.

    The biggest issue we have in Canada re-the latter, is access to the postal code file which is currently sold to Canadians for thousands of dollars as opposed to it being shared as a public dataset. Cost recovery policies and government data monopolies are slowing progress for hactivists, citizens or NGOs who would like to create some interesting projects or tell some interesting demographic stories. CivicAccess.ca and Digital Copyright Canada work toward making those datasets available. http://www.digital-copyright.ca/edid/postal.

    Tracey
    datalibre.ca & civicaccess.ca

  3. Crosius says:

    I would love to see this information cross-referenced against the MP’s campaign platform to spot which MP’s deliver and which belong to the “say anything to get the vote, then do whatever you want” club.

    Thanks for the link!

  4. MrWeeble says:

    The British site http://www.publicwhip.org.uk/ does this for the UK parliament. The source code for the site is available on sourceforge so if someone can write a parser to take the data from the Candian Parliament and put it in the format that the public whip use, it should be fairly easy to get it working.

  5. michiexile says:

    Wow! This is really good! I have a (slightly resting) research project where I need access to large amounts of vote data for parliaments around the world. US is easy enough – and this actually solves the issue (modulo me doing some coding) for Canada.

    The European Union, however, are obstinate – and I probably should at some point write up just how obstinate, and stupid, their arguments for not sharing in even a parseable format are – but not tonight.

    And Sweden used to be easy to get at, until they rebuilt the parliamentary website. If anyone knows of more good web interfaces for voting data, I would be VERY interested!

  6. Anonymous says:

    howdtheyvote.ca

    Have been scraping and re-serving since 2005.

  7. Anonymous says:

    Cory, anthonyt: There’s work under way, and code is available on github:
    http://github.com/danielharan/hansard_scraper/tree/master

    The project was created for use in the next version of ourparliament, due out soon!

  8. ArghMonkey says:

    Cory is the man, delivers again.

    Im all over this link, thanks!

  9. anthonyt says:

    Fantastic! Creating a usable, searchable database of this stuff (incl. Hansard, etc.), has been an idea whizzing around my head for the last year now.

    I’ll start on parsing the data tonight. Here’s a brief overview of what I’ve noticed so far (Apologies for such a long post):

    For anyone else who’s interested, the URLs aren’t very friendly, but you can get a full listing of all votes since 1900 with a URL like this http://www2.parl.gc.ca/HouseChamberBusiness/Chambervotelist.aspx?Language=E&Mode=1&VoteType=0&StartDate=1900-01-01&EndDate=3000-01-01&AgreedTo=True&Negatived=True&Tie=True&Page=1&xml=True&SchemaVersion=1.0

    (They only have 2009 votes posted so far :( )

    Then you can cross-reference the attribute lines in that XML document (eg: <Vote number=”47″ parliament=”40″ session=”2″ sitting=”38″ date=”2009-04-01″>) with the GET vars in this URL:
    http://www2.parl.gc.ca/HouseChamberBusiness/Chambervotedetail.aspx?Language=E&Mode=1&Parl=40&Ses=2&FltrParl=40&FltrSes=2&vote=47&xml=True

    And that returns, for any given set of vote attributes, a full XML listing of who voted and how, including party and riding.

    Once you’ve crawled all that data, you should be able to build a cross-referenced database (like the one they have) and make a usable search interface (not like the one they have).

    I’m assuming the information is free to copy.
    It’s just a list of facts, right?

  10. Anonymous says:

    Canadian MPs pretty well always vote on party lines. I’m not sure how valuable this data will be. Still, better to have it and not need it than to need it and not have it.

  11. Anonymous says:

    This is great.. mostly.

    This should have been an open source project, not some closed-source walled garden effort. The website is terrible and the interface is really holding it back from being something way better.

    I believe a community of open source developers can build something much more sophisticated.

    So to co-ordinate efforts, I started an open-source project that includes a crawler and web service to provide an alternative. Anyone interested in helping out, please check out http://bitbucket.org/agentultra/parlica/

    My hope is that we can get a decent query-able web service API for people to build real applications from. I for one already have an idea for one such application built on this service.

    The project will still need servers to host it on and a domain name for people to find it.

    At least there are people in parliament trying I guess… but we can just do it better.

    So if Cory or anyone here is interested, please help spread the word.

  12. Anonymous says:

    MPs just vote the same as everyone else in their party. The results probably won’t be very interesting. Still, it’s a good thing.

  13. j_king says:

    I started a project to build a crawler which will feed data into a publicly query-able web service.

    http://bitbucket.org/agentultra/parlica/

    It’s meant to be a more low-level service to scrape data from for more interesting applications and research.

    Whoever initiated this project on parl.gc.ca had good intentions, but it should have been an open-source project from the beginning. Transparency doesn’t mean hiring a company to build a closed-source web site in a walled garden, you know? As it is, its more translucent than anything. It’s a start but we the community can do so much better.

    Anyway, once this project finds hosting somewhere I already have some ideas for neat projects as I’m sure others do as well.

    Now just to get the municipal governments to follow suit…

  14. kinetix says:

    For those of you saying that it’s not useful because MPs vote with their parties, I think it’s useful in seeing who just doesn’t show up for work.

  15. dainel says:

    The article says there are 4 ways to access the data. Only one was available yesterday. The other 3 will come online next week. There’ll be a search as well. Not sure if the search counts as one of the other 3.

  16. Anonymous says:

    This sort of feature is much more useful in the U.S. In Canada, party discipline is so tight that the answer will almost always be “With their party”.

Leave a Reply