mlandauer / words-in-parliament forked from srbartlett/words-in-parliament

visualizes the most frequently used words used in the Parliament of Australia

This URL has Read+Write access

name age message
file README.rdoc Loading commit data...
directory lib/
file main.rb
directory public/
file stopwords.txt
README.rdoc

Words in Parliament

Overview

Words in Parliament visualizes the most frequently used words in the Australian House of Representatives.

Data comes from OpenAustralia, a website that provides the Australian Hansard in a easy to consume format (along with heaps of other good stuff to keep tabs on representatives in Parliament).

Dependencies

  $ sudo gem install sinatra

Setup

Run the server:

  $ ruby main.rb

Point your browser at:

  http://localhost:4567/

API

Top words for a given date localhost:4567/api/representatives/words/for/:year/:month/:day/top:n