Giter Club home page Giter Club logo

parliament-hack-2013's Introduction

parliament-hack-2013

UK Parliament Hack 2013 #RSPARLY2013 http://rewiredstate.org/hacks/uk-parliament-hack-2013

Documentation for relevant APIs can be found here: https://s3.amazonaws.com/ParliamentHack2013/Parliament+Hack+2013.htm

UPDATE:

Tuesday 19th November:

I won in the "Why should I care?" category over the weekend, which was lovely! I'm going to be spending time trying to turn this into a non hacky implementation over the next week.

ABOUT THIS HACK

While on the tube the way to the pre-hack drinks last night, I wrote down a few ideas on my iPhone.

This is my favourite and what I think I'll use as my brief for the weekend.

"A system for public review and critique of new legislation, allowing line by line annotation."

  • Allow for ranked feedback and encouraging participation and public commentary.
  • Summarise feedback for MPs, journalists and other interested parties and allow replies to annotations.
  • Automatically find related commentary by members by looking up Hansard.
  • Automatically tag bills and allow people can subscribe to receive email alerts for legislation matching their interests.
  • Show the state of the bill and how members have voted on it as time passes.

I'm not certain if the API's will allow this yet, but it looks like they at least /almost/ do and that hackery is possible where it doesn't.

It may be necessary to screen scrape http://services.parliament.uk/bills/ to get things like the text of bills (and convert them from PDF to plain text or HTML).

There is an RSS feed for bills: http://services.parliament.uk/bills/AllBills.rss

There is also an XML dump of the data here: https://s3.amazonaws.com/ParliamentHack2013/Bills.zip

Drafts of public bills are posted in a PDF here: http://www.parliament.uk/business/bills-and-legislation/current-bills/public-bill-list/

"The Progress of Public Bills list includes the dates of all stages of public bills laid before Parliament this session. The list is published every Friday during sitting time by midday."

This would need parsing of PDF's to identify bills by name and member.

Hansard API's are here: http://hansard.millbanksystems.com/api

It isn't currently possible to search Hansard by keyword may fall back to showing related data from other sources (BBC, Guardian, Google, etc - ideally a broad range) for relevant commentary. You can look up by member though.

Additional API for looking up members: http://data.parliament.uk/membersdataplatform/memberquery.aspx

Also possible to screen scrape for members using their PIMS ID in these URLs: http://www.publications.parliament.uk/pa/cm201314/cmhansrd/cmallfiles/mps/commons_hansard_3572_home.html http://data.parliament.uk/membersdataplatform/services/mnis/members/query/name*Abbot/

NB: For lords the URL format for member pages is: http://www.publications.parliament.uk/pa/ld201314/ldhansrd/ldallfiles/peers/lord_hansard_5355_od.html

Thanks to @stephen_abbott for explaining a bit about the API's and walking me through the significance of some of the values!

parliament-hack-2013's People

Contributors

iaincollins avatar

Stargazers

Chia-liang Kao avatar  avatar Stephen Abbott Pugh avatar

Watchers

Florian Rathgeber avatar  avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.