tmtmtmtm / fiji-parliament

Scrapes www.parliament.gov.fj

Fiji’s first parliamentary type body was established in November 1871. In October 1874, Fiji was proclaimed a British Colony and was subsequently administered by a Governor-General, through the Legislative Council, as a possession and dependant of the British Crown. In 1964, the Membership System of Government was first introduced in Fiji with elections for Members of the Legislative Council who were given specific portfolios. In July 1965, a constitutional conference was held in London to discuss further progress towards independence and self-government.A ministerial system of government was introduced in Fiji in 1967 and Ratu Sir Kamisese Mara was appointed as the Chief Minister with the Executive Council of the Legislative Council becoming a Council of Ministers. On 10 October 1970, Fiji gained independence from Great Britain and established itself as a parliamentary democracy. As a former British Colony, Fiji adopted a bicameral Westminster Model parliamentary system. On 27 November 1970, the Governor-General Sir Robert Sidney Foster, GCMG, KCVO, addressed a joint sitting of the House of Representatives and the Senate to officially open Fiji’s first ever Parliament.


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

Contributors tmtmtmtm

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.0.0 -----> Installing dependencies using bundler 1.15.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Fetching gem metadata from https://rubygems.org/........  Fetching version metadata from https://rubygems.org/.  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Rubygems 2.0.14.1 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.  Using bundler 1.15.2  Fetching coderay 1.1.0  Installing coderay 1.1.0  Fetching colorize 0.7.7  Installing colorize 0.7.7  Fetching execjs 2.5.2  Installing execjs 2.5.2  Fetching fuzzy_match 2.1.0  Installing fuzzy_match 2.1.0  Fetching httpclient 2.6.0.1  Installing httpclient 2.6.0.1  Fetching method_source 0.8.2  Installing method_source 0.8.2  Fetching mini_portile 0.6.2  Installing mini_portile 0.6.2  Fetching open-uri-cached 0.0.5  Installing open-uri-cached 0.0.5  Fetching slop 3.6.0  Installing slop 3.6.0  Fetching sqlite3 1.3.10  Installing sqlite3 1.3.10 with native extensions  Fetching nokogiri 1.6.6.2  Installing nokogiri 1.6.6.2 with native extensions  Fetching pry 0.10.1  Installing pry 0.10.1  Fetching sqlite_magic 0.0.3  Installing sqlite_magic 0.0.3  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Bundle complete! 7 Gemfile dependencies, 15 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (17.56s)  Cleaning up the bundler cache. -----> Installing node-v6.11.1-linux-x64 -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:353:in `open_http': 404 Not Found (OpenURI::HTTPError) from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:709:in `buffer_open' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:210:in `block in open_loop' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:208:in `catch' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:208:in `open_loop' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri' from /app/vendor/bundle/ruby/2.0.0/gems/open-uri-cached-0.0.5/lib/open-uri/cached.rb:10:in `open_uri' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:689:in `open' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/open-uri.rb:34:in `open' from scraper.rb:14:in `noko_for' from scraper.rb:30:in `scrape_list' from scraper.rb:48:in `<main>'

Data

Downloaded 763 times by everypolitician MikeRalphson

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (19 KB) Use the API

rows 10 / 54

name image party party_id term source
Pio Tikoduadua
Fiji First
FF
2014
Jioji Konusi Konrote
Fiji First
FF
2014
Sanjit Patel
Fiji First
FF
2014
Dr. Neil Prakash Sharma
Fiji First
FF
2014
Ratu Viliame Manakiwai Tagivetaua
Social Democratic Liberal Party
SODELPA
2014
Tupou T. S. Draunidalo
National Federation Party
NFP
2014
Josaia Voreqe Bainimarama
Fiji First
FF
2014
Aiyaz Sayed-Khaiyum
Fiji First
FF
2014
Parveen Kumar
Fiji First
FF
2014
Faiyaz Koya
Fiji First
FF
2014

Statistics

Average successful run time: 1 minute

Total run time: 3 days

Total cpu time used: 11 minutes

Total disk space used: 40.8 KB

History

  • Auto ran revision ab078cc4 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision ab078cc4 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision ab078cc4 and failed .
    nothing changed in the database
    20 pages scraped
  • Auto ran revision ab078cc4 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision ab078cc4 and failed .
    nothing changed in the database
    1 page scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

fiji-parliament / scraper.rb