tmtmtmtm / kenya-national-assembly

Scrapes www.parliament.go.ke

Establishment Chapter eight of the Constitution of Kenya (the Constitution) establishes the Legislature. Article 93 of the Constitution states that “T...


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 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! 6 Gemfile dependencies, 14 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (19.40s)  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... http://www.parliament.go.ke/the-national-assembly/members /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/uri/generic.rb:1203:in `rescue in merge': bad URI(is not URI?): /the-national-assembly/members/item/3923-hon-abuor-paul-odalo-mak’ojuando (URI::InvalidURIError) from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/uri/generic.rb:1200:in `merge' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/uri/common.rb:237:in `each' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/uri/common.rb:237:in `inject' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/uri/common.rb:237:in `join' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/uri/common.rb:785:in `join' from scraper.rb:29:in `block in scrape_list' from scraper.rb:28:in `each' from scraper.rb:28:in `scrape_list' from scraper.rb:71:in `<main>'

Data

Downloaded 1009 times by everypolitician MikeRalphson Created4

To download data sign in with GitHub

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

rows 10 / 177

id name sort_name party county constituency type title role status image source
155
Pius Namwamba Ababu
Ababu , Pius Namwamba
Orange Democratic Movement
Busia
Budalangi
Legislator
Elected
156
Ahmed Ibrahim Abass
Abass, Ahmed Ibrahim
Orange Democratic Movement
Garissa
Ijara
Legislator
Elected
157
Amina Abdalla
Abdalla, Amina
The National Alliance
Nominated
Legislator
Current
158
Yusuf Hassan Abdi
Abdi, Yusuf Hassan
The National Alliance
Nairobi
Kamukunji
Elected
Legislator
Current
159
Kamama Asman Abongotum
Abongotum , Kamama Asman
United Republican Party
Baringo
Tiaty
Legislator
Elected
160
Lawrence Mpuru Aburi
Aburi, Lawrence Mpuru
Orange Democratic Movement
Meru
Tigania East
Legislator
Elected
161
Abdikadir Omar Aden
Aden, Abdikadir Omar
Orange Democratic Movement
Garissa
Balambala
Legislator
Elected
163
Abdikadir Ore Ahmed
Ahmed, Abdikadir Ore
Orange Democratic Movement
Wajir
Wajir West
Legislator
Elected
162
Shakeel Shabbir A. Ahmed
Ahmed, Shakeel Shabbir A.
Orange Democratic Movement
Kisumu
Kisumu East
Legislator
Elected
164
Protus Ewesit Akujah
Akujah, Protus Ewesit
Orange Democratic Movement
Turkana
Loima
Legislator
Elected

Statistics

Average successful run time: 7 minutes

Total run time: 2 days

Total cpu time used: 24 minutes

Total disk space used: 88.7 KB

History

  • Auto ran revision c37cdadb and failed .
    2 records added, 2 records removed in the database
    3 pages scraped
  • Auto ran revision c37cdadb and failed .
    2 records added, 2 records removed in the database
    3 pages scraped
  • Auto ran revision c37cdadb and failed .
    2 records added, 2 records removed in the database
    4 pages scraped
  • Auto ran revision c37cdadb and failed .
    2 records added, 2 records removed in the database
    3 pages scraped
  • Auto ran revision c37cdadb and failed .
    2 records added, 2 records removed in the database
    3 pages scraped
  • ...
  • Created on morph.io

Show complete history