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 require_all 1.4.0  Installing ast 2.3.0  Installing coderay 1.1.0  Fetching httpclient 2.6.0.1  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  Installing httpclient 2.6.0.1  Fetching rainbow 2.1.0  Installing rainbow 2.1.0  Installing slop 3.6.0  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  Fetching yajl-ruby 1.3.0  Fetching everypolitician-popolo 0.8.0  Installing sqlite3 1.3.10 with native extensions  Installing everypolitician-popolo 0.8.0  Fetching parser 2.3.1.2  Installing yajl-ruby 1.3.0 with native extensions  Installing parser 2.3.1.2  Fetching pry 0.10.1  Installing pry 0.10.1  Using everypolitician 0.20.0 from https://github.com/everypolitician/everypolitician-ruby.git (at master@20582b1)  Fetching rubocop 0.42.0  Installing rubocop 0.42.0  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 (12.01s)  Cleaning up the bundler cache. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... Q12501020: Q56057048 + unknown P4100 Q49256793: Q56057048 + unknown P4100 Q12499371: Q56057048 + unknown P4100 Q12521123: Q56057048 + unknown P4100 Q17410811: Q56057048 + unknown P4100 Q4250974: Q56057048 + unknown P4100 Q16162516: Q56057048 + unknown P4100 Q4262592: Q56057048 + unknown P4100, P1534 Q4838920: Q56057048 + unknown P4100

Data

Downloaded 1447 times by everypolitician

To download data sign in with GitHub

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

rows 10 / 22

id position label description start_date constituency end_date election term replaces replaced_by
Q54805204
Q2670027
People's Representative Council
elected body in Indonesia
2004-10-01
Bali
2018-05-14
Q12472022
Q121998
ambassador
diplomatic envoy
Q20426350
Q21328632
Member of the People's Representative Council of Indonesia
Q12501020
Q56057048
Member of the 2014-2019 People's Representative Council of Indonesia
2014-10-01
2014 Indonesian legislative election
18th People's Representative Council
Q49256793
Q56057048
Member of the 2014-2019 People's Representative Council of Indonesia
2014-10-01
2014 Indonesian legislative election
18th People's Representative Council
Q12523651
Q486839
member of parliament
representative of the voters to a parliament
Q17411648
Q74520759
governor of Banten
2017-05-12
Rano Karno
Q12499371
Q56057048
Member of the 2014-2019 People's Representative Council of Indonesia
2014-10-01
2014 Indonesian legislative election
18th People's Representative Council
Q25467525
Q20668532
2016-02-12
Soni Sumarsono
Q12521123
Q56057048
Member of the 2014-2019 People's Representative Council of Indonesia
2014-10-01
2014 Indonesian legislative election
18th People's Representative Council

Statistics

Average successful run time: half a minute

Total run time: about 10 hours

Total cpu time used: 44 minutes

Total disk space used: 32 KB

History

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

Show complete history

Scraper code

Ruby

indonesia-positions / scraper.rb