Contributors tmtmtmtm

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.3.3 -----> 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/everypolitician/everypolitician-ruby.git  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Fetching https://github.com/everypolitician/wikisnakker.git  Fetching ast 2.3.0  Using bundler 1.15.2  Fetching coderay 1.1.0  Fetching require_all 1.4.0  Installing ast 2.3.0  Installing require_all 1.4.0  Fetching httpclient 2.6.0.1  Installing coderay 1.1.0  Fetching method_source 0.8.2  Fetching powerpack 0.1.1  Installing powerpack 0.1.1  Installing method_source 0.8.2  Fetching slop 3.6.0  Fetching rainbow 2.1.0  Installing httpclient 2.6.0.1  Fetching ruby-progressbar 1.8.1  Installing ruby-progressbar 1.8.1  Fetching unicode-display_width 1.1.1  Installing unicode-display_width 1.1.1  Fetching sqlite3 1.3.10  Installing sqlite3 1.3.10 with native extensions  Installing slop 3.6.0  Installing rainbow 2.1.0  Fetching yajl-ruby 1.3.0  Fetching parser 2.3.1.2  Installing yajl-ruby 1.3.0 with native extensions  Installing parser 2.3.1.2  Fetching everypolitician-popolo 0.8.0  Installing everypolitician-popolo 0.8.0  Fetching pry 0.10.1  Installing pry 0.10.1  Fetching rubocop 0.42.0  Installing rubocop 0.42.0  Using everypolitician 0.20.0 from https://github.com/everypolitician/everypolitician-ruby.git (at master@20582b1)  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)  Using wikisnakker 0.9.1 from https://github.com/everypolitician/wikisnakker.git (at master@4e091cd)  Bundle complete! 5 Gemfile dependencies, 21 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (13.69s)  Cleaning up the bundler cache. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... Q6588095: Q27908372 + unknown P4100 Q8032000: Q53914229 + unknown P4100 Q19825791: Q53913929 + unknown P4100 Q9112403: Q53914891 + unknown P4100 Q4757753: Q27908372 + unknown P4100 Q80332: Q53914050 + unknown P4100 Q9114735: Q27908372 + unknown P4100 Q8038881: Q53913812 + unknown P4100 Q6144316: Q27908372 + unknown P4100 Q6144316: Q53914332 + unknown P4100 Q1548856: Q27908372 + unknown P4100 Q712854: Q27908372 + unknown P1534 Q7227847: Q27908372 + unknown P4100 Q7237065: Q53913929 + unknown P4100 Q163404: Q3068969 + unknown P1545

Data

Downloaded 1156 times by everypolitician

To download data sign in with GitHub

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

rows 10 / 137

id position label description start_date end_date constituency term election replaces replaced_by
Q4368021
Q13416334
member of the Provisional Legislative Council
1996-12-21
1998-06-30
Q4368021
Q27908372
member of the Legislative Council of Hong Kong
member of the Hong Kong legislature
1998-07-01
2004-09-30
Commercial (First)
Q4368021
Q27908372
member of the Legislative Council of Hong Kong
member of the Hong Kong legislature
2004-10-01
2008-09-30
New Territories East
Q4368021
Q27908372
member of the Legislative Council of Hong Kong
member of the Hong Kong legislature
2012-10-01
2016-09-30
New Territories East
Q4368021
Q51078983
member of the National Committee of the Chinese People's Political Consultative Conference
12th National Committee of the Chinese People's Political Consultative Conference
Q6588095
Q27908372
member of the Legislative Council of Hong Kong
member of the Hong Kong legislature
2016-10-01
Hong Kong Island
6th Legislative Council of Hong Kong
2016 Hong Kong legislative election
Q6588095
Q27908372
member of the Legislative Council of Hong Kong
member of the Hong Kong legislature
2010-05-17
2012-09-30
Hong Kong Island
Q6588095
Q27908372
member of the Legislative Council of Hong Kong
member of the Hong Kong legislature
2008-10-01
2010-01-28
Hong Kong Island
Q14476291
Q27908372
member of the Legislative Council of Hong Kong
member of the Hong Kong legislature
2012-10-01
2016-09-30
Labour
Q7930030
Q27908372
member of the Legislative Council of Hong Kong
member of the Hong Kong legislature
2004-10-01
2008-09-30
Medical

Statistics

Average successful run time: half a minute

Total run time: about 8 hours

Total cpu time used: 43 minutes

Total disk space used: 57 KB

History

  • Auto ran revision 84414efe and completed successfully .
    nothing changed in the database
  • Auto ran revision 84414efe and completed successfully .
    nothing changed in the database
  • Auto ran revision 84414efe and completed successfully .
    nothing changed in the database
  • Auto ran revision 84414efe and completed successfully .
    nothing changed in the database
  • Auto ran revision 84414efe and completed successfully .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

hong-kong-positions / scraper.rb