octopusinvitro / morphio-scraper-australian-parliament

members of Australian Parliament


Build Status build status

Morph.io scraper :: Australian parliament

This is a scraper that runs on Morph. To get started see the documentation

This version follows this tutorial, but using tests instead. It is a template for a Ruby scraper on morph.io (https://morph.io) including some code snippets below that you should find helpful.

You don't have to do things with the Mechanize or ScraperWiki libraries. You can use whatever gems you want: https://morph.io/documentation/ruby. All that matters is that your final data is written to an SQLite database called "data.sqlite" in the current working directory which has at least a table called "data".

Scrapers on morph.io use the ScraperWiki library to save data to a SQLite database. This is how all data in morph.io is stored. Each scraper page provides options to download the SQLite database, a CSV file of each table, or access the data via an API.

Getting started

Create a new scraper on morph.io. This will create a new repository in your GitHub account. Git clone it in your computer and update it with your code.

How to use this project

This is a Ruby project. You will need to tell your favourite Ruby version manager to set your local Ruby version to the one specified in the .ruby-version file.

For example, if you are using rbenv:

  1. Install the right Ruby version: bash $ rbenv install < VERSION > $ rbenv rehash
  2. Move to the root directory of this project and type: bash $ rbenv local < VERSION > $ ruby -v

You will also need to install the bundler gem, which will allow you to install the rest of the dependencies listed in the Gemfile file of this project.

bash $ gem install bundler $ rbenv rehash

Folder structure

  • lib: Sources
  • spec: Tests

To initialise the project

bash $ bundle install $ bundle exec rake

To run the tests

Serve the fixtures with your favorite server at localhost, for example:

bash $ ruby -run -e httpd -- -p 4000 spec/fixtures

and then run the tests:

bash $ bundle exec rspec

In the tests, the test url points to a page served by a local server that has a pagination of three pages with 50 members in each page.

Caveat: Because the ScraperWiki gem doesn't allow to choose where to save the database file or how to name it, it will always produce a data.sqlite file in the root directory when the tests are run and when the production code is run. I have to find a way to mock the ScraperWiki module, but for now I am using the ugly workaround:

ruby after(:all) do `rm data.sqlite` end

and renaming the database file after running the production code:

ruby p `bin/app && mv data.sqlite members.sqlite`

This is ugly and doesn't really solve the problem, so it has to dissappear.

To run the app

bash $ bundle exec ruby scraper.rb

To open the created database in SQLite

First make sure you have SQLite installed in your system:

bash $ sqlite3 SQLite version 3.8.2 2013-12-06 14:53:30 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> .exit $

or install it for your OS. Then, open the file and type some SQL statements:

bash $ sqlite3 members.sqlite SQLite version 3.8.2 2013-12-06 14:53:30 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> SELECT count(*) FROM data; 150 sqlite> SELECT * FROM data; ...

To run the scraper on morph.io

When you are finished, push your changes up to your remote GitHub repository and go to https://morph.io. Find your scraper and click "Run scraper". You can set your scraper to auto-run daily on your scraper's settings page so it's stays up to date with any changes

License

License GNU License

Contributors octopusinvitro

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... TERM environment variable not set. "[{:title=>\"The Hon Ian Macfarlane MP\", :electorate=>\"Groom, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=WN6\"}, {:title=>\"The Hon Jenny Macklin MP\", :electorate=>\"Jagajaga, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=PG6\"}, {:title=>\"Hon Alannah MacTiernan MP\", :electorate=>\"Perth, Western Australia\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=L6P\"}, {:title=>\"Ms Nola Marino MP\", :electorate=>\"Forrest, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWP\"}, {:title=>\"Mrs Louise Markus MP\", :electorate=>\"Macquarie, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=E07\"}, {:title=>\"The Hon Richard Marles MP\", :electorate=>\"Corio, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWQ\"}, {:title=>\"Mr Russell Matheson MP\", :electorate=>\"Macarthur, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=M2V\"}, {:title=>\"The Hon Michael McCormack MP\", :electorate=>\"Riverina, New South Wales\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=219646\"}, {:title=>\"Ms Cathy McGowan AO, MP\", :electorate=>\"Indi, Victoria\", :party=>\"Independent\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=123674\"}, {:title=>\"Mrs Karen McNamara MP\", :electorate=>\"Dobell, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=241589\"}, {:title=>\"Mr Rob Mitchell MP\", :electorate=>\"McEwen, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=M3E\"}, {:title=>\"The Hon Scott Morrison MP\", :electorate=>\"Cook, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=E3L\"}, {:title=>\"The Hon Shayne Neumann MP\", :electorate=>\"Blair, Queensland\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HVO\"}, {:title=>\"Mr Andrew Nikolic AM, CSC, MP\", :electorate=>\"Bass, Tasmania\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=137174\"}, {:title=>\"The Hon Brendan O'Connor MP\", :electorate=>\"Gorton, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00AN3\"}, {:title=>\"Mr Ken O'Dowd MP\", :electorate=>\"Flynn, Queensland\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=139441\"}, {:title=>\"Ms Kelly O'Dwyer MP\", :electorate=>\"Higgins, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=LKU\"}, {:title=>\"Ms Clare O'Neil MP\", :electorate=>\"Hotham, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=140590\"}, {:title=>\"Ms Julie Owens MP\", :electorate=>\"Parramatta, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=E09\"}, {:title=>\"Mr Clive Palmer MP\", :electorate=>\"Fairfax, Queensland\", :party=>\"Palmer United Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=LQR\"}, {:title=>\"The Hon Melissa Parke MP\", :electorate=>\"Fremantle, Western Australia\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWR\"}, {:title=>\"Mr Tony Pasin MP\", :electorate=>\"Barker, South Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=240756\"}, {:title=>\"Mr Graham Perrett MP\", :electorate=>\"Moreton, Queensland\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HVP\"}, {:title=>\"Mr Keith Pitt MP\", :electorate=>\"Hinkler, Queensland\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=148150\"}, {:title=>\"The Hon Tanya Plibersek MP\", :electorate=>\"Sydney, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=83M\"}, {:title=>\"Hon Christian Porter MP\", :electorate=>\"Pearce, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=208884\"}, {:title=>\"Mrs Jane Prentice MP\", :electorate=>\"Ryan, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=217266\"}, {:title=>\"Ms Melissa Price MP\", :electorate=>\"Durack, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=249308\"}, {:title=>\"The Hon Christopher Pyne MP\", :electorate=>\"Sturt, South Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=9V5\"}, {:title=>\"Mr Rowan Ramsey MP\", :electorate=>\"Grey, South Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWS\"}, {:title=>\"Mr Don Randall MP\", :electorate=>\"Canning, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=PK6\"}, {:title=>\"The Hon Bernie Ripoll MP\", :electorate=>\"Oxley, Queensland\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=83E\"}, {:title=>\"The Hon Amanda Rishworth MP\", :electorate=>\"Kingston, South Australia\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWA\"}, {:title=>\"The Hon Andrew Robb AO, MP\", :electorate=>\"Goldstein, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=FU4\"}, {:title=>\"The Hon Stuart Robert MP\", :electorate=>\"Fadden, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWT\"}, {:title=>\"Ms Michelle Rowland MP\", :electorate=>\"Greenway, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=159771\"}, {:title=>\"Mr Wyatt Roy MP\", :electorate=>\"Longman, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=M2X\"}, {:title=>\"The Hon Philip Ruddock MP\", :electorate=>\"Berowra, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=0J4\"}, {:title=>\"Ms Joanne Ryan MP\", :electorate=>\"Lalor, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=249224\"}, {:title=>\"The Hon Bruce Scott MP\", :electorate=>\"Maranoa, Queensland\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=YT4\"}, {:title=>\"Ms Fiona Scott MP\", :electorate=>\"Lindsay, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=165476\"}, {:title=>\"The Hon Bill Shorten MP\", :electorate=>\"Maribyrnong, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00ATG\"}, {:title=>\"Mr Luke Simpkins MP\", :electorate=>\"Cowan, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWE\"}, {:title=>\"The Hon Tony Smith MP\", :electorate=>\"Casey, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00APG\"}, {:title=>\"The Hon Warren Snowdon MP\", :electorate=>\"Lingiari, Northern Territory\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=IJ4\"}, {:title=>\"Dr Andrew Southcott MP\", :electorate=>\"Boothby, South Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=TK6\"}, {:title=>\"The Hon Dr Sharman Stone MP\", :electorate=>\"Murray, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=EM6\"}, {:title=>\"Ms Ann Sudmalis MP\", :electorate=>\"Gilmore, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=241586\"}, {:title=>\"Mr Michael Sukkar MP\", :electorate=>\"Deakin, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=242515\"}, {:title=>\"The Hon Wayne Swan MP\", :electorate=>\"Lilley, Queensland\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=2V5\"}, {:title=>\"Mr Angus Taylor MP\", :electorate=>\"Hume, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=231027\"}, {:title=>\"Mr Dan Tehan MP\", :electorate=>\"Wannon, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=210911\"}, {:title=>\"Hon Matt Thistlethwaite MP\", :electorate=>\"Kingsford Smith, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=182468\"}, {:title=>\"The Hon Kelvin Thomson MP\", :electorate=>\"Wills, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=UK6\"}, {:title=>\"The Hon Warren Truss MP\", :electorate=>\"Wide Bay, Queensland\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=GT4\"}, {:title=>\"The Hon Alan Tudge MP\", :electorate=>\"Aston, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=M2Y\"}, {:title=>\"The Hon Malcolm Turnbull MP\", :electorate=>\"Wentworth, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=885\"}, {:title=>\"Ms Maria Vamvakinou MP\", :electorate=>\"Calwell, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00AMT\"}, {:title=>\"Mr Bert van Manen MP\", :electorate=>\"Forde, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=188315\"}, {:title=>\"Mr Nickolas Varvaris MP\", :electorate=>\"Barton, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=250077\"}, {:title=>\"Mr Ross Vasta MP\", :electorate=>\"Bonner, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=E0D\"}, {:title=>\"Mr Tim Watts MP\", :electorate=>\"Gellibrand, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=193430\"}, {:title=>\"Mr Brett Whiteley MP\", :electorate=>\"Braddon, Tasmania\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=207800\"}, {:title=>\"Mrs Lucy Wicks MP\", :electorate=>\"Robertson, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=241590\"}, {:title=>\"Mr Andrew Wilkie MP\", :electorate=>\"Denison, Tasmania\", :party=>\"Independent\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=C2T\"}, {:title=>\"Mr Matt Williams MP\", :electorate=>\"Hindmarsh, South Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=249758\"}, {:title=>\"Mr Rick Wilson MP\", :electorate=>\"O'Connor, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=198084\"}, {:title=>\"Mr Jason Wood MP\", :electorate=>\"La Trobe, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=E0F\"}, {:title=>\"Mr Ken Wyatt AM, MP\", :electorate=>\"Hasluck, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=M3A\"}, {:title=>\"Mr Tony Zappia MP\", :electorate=>\"Makin, South Australia\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWB\"}, {:title=>\"The Hon Tony Abbott MP\", :electorate=>\"Warringah, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=EZ5\"}, {:title=>\"The Hon Anthony Albanese MP\", :electorate=>\"Grayndler, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=R36\"}, {:title=>\"Mr John Alexander OAM, MP\", :electorate=>\"Bennelong, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=M3M\"}, {:title=>\"Mrs Karen Andrews MP\", :electorate=>\"McPherson, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=230886\"}, {:title=>\"The Hon Kevin Andrews MP\", :electorate=>\"Menzies, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HK5\"}, {:title=>\"The Hon Bob Baldwin MP\", :electorate=>\"Paterson, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=LL6\"}, {:title=>\"Mr Adam Bandt MP\", :electorate=>\"Melbourne, Victoria\", :party=>\"Australian Greens\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=M3C\"}, {:title=>\"The Hon Bruce Billson MP\", :electorate=>\"Dunkley, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=1K6\"}, {:title=>\"The Hon Sharon Bird MP\", :electorate=>\"Cunningham, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=DZP\"}, {:title=>\"The Hon Bronwyn Bishop MP\", :electorate=>\"Mackellar, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=SE4\"}, {:title=>\"The Hon Julie Bishop MP\", :electorate=>\"Curtin, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=83P\"}, {:title=>\"The Hon Chris Bowen MP\", :electorate=>\"McMahon, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=DZS\"}, {:title=>\"The Hon Jamie Briggs MP\", :electorate=>\"Mayo, South Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=IYU\"}, {:title=>\"Mr Andrew Broad MP\", :electorate=>\"Mallee, Victoria\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=30379\"}, {:title=>\"Mr Russell Broadbent MP\", :electorate=>\"McMillan, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=MT4\"}, {:title=>\"Ms Gai Brodtmann MP\", :electorate=>\"Canberra, Australian Capital Territory\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=30540\"}, {:title=>\"The Hon Mal Brough MP\", :electorate=>\"Fisher, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=2K6\"}, {:title=>\"Mr Scott Buchholz MP\", :electorate=>\"Wright, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=230531\"}, {:title=>\"Ms Anna Burke MP\", :electorate=>\"Chisholm, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=83S\"}, {:title=>\"The Hon Tony Burke MP\", :electorate=>\"Watson, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=DYW\"}, {:title=>\"The Hon Mark Butler MP\", :electorate=>\"Port Adelaide, South Australia\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWK\"}, {:title=>\"Ms Terri Butler MP\", :electorate=>\"Griffith, Queensland\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=248006\"}, {:title=>\"The Hon Anthony Byrne MP\", :electorate=>\"Holt, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=008K0\"}, {:title=>\"Dr Jim Chalmers MP\", :electorate=>\"Rankin, Queensland\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=37998\"}, {:title=>\"Mr Nick Champion MP\", :electorate=>\"Wakefield, South Australia\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HW9\"}, {:title=>\"The Hon Darren Chester MP\", :electorate=>\"Gippsland, Victoria\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=IPZ\"}, {:title=>\"Ms Lisa Chesters MP\", :electorate=>\"Bendigo, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=249710\"}, {:title=>\"Mr George Christensen MP\", :electorate=>\"Dawson, Queensland\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=230485\"}, {:title=>\"The Hon Steven Ciobo MP\", :electorate=>\"Moncrieff, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00AN0\"}, {:title=>\"The Hon Jason Clare MP\", :electorate=>\"Blaxland, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWL\"}, {:title=>\"Ms Sharon Claydon MP\", :electorate=>\"Newcastle, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=248181\"}, {:title=>\"The Hon John Cobb MP\", :electorate=>\"Calare, New South Wales\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00AN1\"}, {:title=>\"Mr David Coleman MP\", :electorate=>\"Banks, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=241067\"}, {:title=>\"The Hon Julie Collins MP\", :electorate=>\"Franklin, Tasmania\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWM\"}, {:title=>\"Mr Pat Conroy MP\", :electorate=>\"Charlton, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=249127\"}, {:title=>\"Mr Mark Coulton MP\", :electorate=>\"Parkes, New South Wales\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWN\"}, {:title=>\"The Hon Michael Danby MP\", :electorate=>\"Melbourne Ports, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=WF6\"}, {:title=>\"The Hon Mark Dreyfus QC, MP\", :electorate=>\"Isaacs, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWG\"}, {:title=>\"The Hon Peter Dutton MP\", :electorate=>\"Dickson, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00AKI\"}, {:title=>\"The Hon Justine Elliot MP\", :electorate=>\"Richmond, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=DZW\"}, {:title=>\"The Hon Kate Ellis MP\", :electorate=>\"Adelaide, South Australia\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=DZU\"}, {:title=>\"The Hon Warren Entsch MP\", :electorate=>\"Leichhardt, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=7K6\"}, {:title=>\"Hon David Feeney MP\", :electorate=>\"Batman, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=I0O\"}, {:title=>\"Mr Laurie Ferguson MP\", :electorate=>\"Werriwa, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=8T4\"}, {:title=>\"The Hon Joel Fitzgibbon MP\", :electorate=>\"Hunter, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=8K6\"}, {:title=>\"The Hon Paul Fletcher MP\", :electorate=>\"Bradfield, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=L6B\"}, {:title=>\"The Hon Josh Frydenberg MP\", :electorate=>\"Kooyong, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=FKL\"}, {:title=>\"The Hon Teresa Gambaro MP\", :electorate=>\"Brisbane, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=9K6\"}, {:title=>\"Mr Andrew Giles MP\", :electorate=>\"Scullin, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=243609\"}, {:title=>\"Dr David Gillespie MP\", :electorate=>\"Lyne, New South Wales\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=72184\"}, {:title=>\"Mr Ian Goodenough MP\", :electorate=>\"Moore, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=74046\"}, {:title=>\"The Hon Gary Gray AO, MP\", :electorate=>\"Brand, Western Australia\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=8W5\"}, {:title=>\"The Hon Alan Griffin MP\", :electorate=>\"Bruce, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=VU5\"}, {:title=>\"Mrs Natasha Griggs MP\", :electorate=>\"Solomon, Northern Territory\", :party=>\"Country Liberal Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=220370\"}, {:title=>\"Ms Jill Hall MP\", :electorate=>\"Shortland, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=83N\"}, {:title=>\"The Hon Luke Hartsuyker MP\", :electorate=>\"Cowper, New South Wales\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00AMM\"}, {:title=>\"Mr Alex Hawke MP\", :electorate=>\"Mitchell, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HWO\"}, {:title=>\"Mr Chris Hayes MP\", :electorate=>\"Fowler, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=ECV\"}, {:title=>\"Ms Sarah Henderson MP\", :electorate=>\"Corangamite, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=ZN4\"}, {:title=>\"Dr Peter Hendy MP\", :electorate=>\"Eden-Monaro, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00BCM\"}, {:title=>\"The Hon Joe Hockey MP\", :electorate=>\"North Sydney, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=DK6\"}, {:title=>\"Mr Kevin Hogan MP\", :electorate=>\"Page, New South Wales\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=218019\"}, {:title=>\"Mr Luke Howarth MP\", :electorate=>\"Petrie, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=247742\"}, {:title=>\"The Hon Greg Hunt MP\", :electorate=>\"Flinders, Victoria\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00AMV\"}, {:title=>\"The Hon Ed Husic MP\", :electorate=>\"Chifley, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=91219\"}, {:title=>\"Mr Eric Hutchinson MP\", :electorate=>\"Lyons, Tasmania\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=212585\"}, {:title=>\"Mr Steve Irons MP\", :electorate=>\"Swan, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HYM\"}, {:title=>\"Dr Dennis Jensen MP\", :electorate=>\"Tangney, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=DYN\"}, {:title=>\"Mr Ewen Jones MP\", :electorate=>\"Herbert, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=96430\"}, {:title=>\"Mr Stephen Jones MP\", :electorate=>\"Throsby, New South Wales\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=A9B\"}, {:title=>\"The Hon Barnaby Joyce MP\", :electorate=>\"New England, New South Wales\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=E5D\"}, {:title=>\"The Hon Bob Katter MP\", :electorate=>\"Kennedy, Queensland\", :party=>\"Katter's Australian Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=HX4\"}, {:title=>\"The Hon Michael Keenan MP\", :electorate=>\"Stirling, Western Australia\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=E0J\"}, {:title=>\"Mr Craig Kelly MP\", :electorate=>\"Hughes, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=99931\"}, {:title=>\"The Hon Catherine King MP\", :electorate=>\"Ballarat, Victoria\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00AMR\"}, {:title=>\"Mr Andrew Laming MP\", :electorate=>\"Bowman, Queensland\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=E0H\"}, {:title=>\"Ms Michelle Landry MP\", :electorate=>\"Capricornia, Queensland\", :party=>\"The Nationals\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=249764\"}, {:title=>\"Mr Craig Laundy MP\", :electorate=>\"Reid, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=247130\"}, {:title=>\"The Hon Dr Andrew Leigh MP\", :electorate=>\"Fraser, Australian Capital Territory\", :party=>\"Australian Labor Party\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=BU8\"}, {:title=>\"The Hon Sussan Ley MP\", :electorate=>\"Farrer, New South Wales\", :party=>\"Liberal Party of Australia\", :url=>\"http://www.aph.gov.au/Senators_and_Members/Parliamentarian?MPID=00AMN\"}]\n"

Statistics

Average successful run time: less than 20 seconds

Total run time: 2 minutes

Total cpu time used: less than 10 seconds

Total disk space used: 191 KB

History

  • Manually ran revision 305e23f0 and completed successfully .
    nothing changed in the database
  • Manually ran revision c3298168 and completed successfully .
    nothing changed in the database
  • Manually ran revision a594c820 and completed successfully .
    nothing changed in the database
  • Manually ran revision 63c68735 and failed .
    nothing changed in the database
  • Manually ran revision 55985a15 and failed .
    nothing changed in the database
  • Manually ran revision 6f88ab78 and completed successfully .
    nothing changed in the database
  • Created on morph.io