openaustralia / ukraine_verkhovna_rada_deputies

Members of the Ukrainian parliament, the Verkhovna Rada of Ukraine


Ukraine Verkhovna Rada Deputies

This is a scraper that runs on morph.io to collect a list of all members of the Ukrainian parliament. It currently collects all data in Ukrainian.

It's designed to feed data into EveryPolitician so that it can make Popolo compatible data. It was built to be used by Вони голосують для тебе.

Refreshing data in EveryPolitician

You can trigger a rebuild of the EveryPolitician data by sending an empty POST request to https://everypolitician-rebuilder.herokuapp.com/Ukraine/Verkhovna_Rada — this will rebuild it an open a PR (if anything has changed):

curl -d "" https://everypolitician-rebuilder.herokuapp.com/Ukraine/Verkhovna_Rada

After a few minutes a pull request will automatically be opened on the EveryPolitician repository. Once it's been checked and merged by the maintainers the data will be up-to-date.

Helpful URLs

All these URLs have obvious IDs you can change to get other pages:

  • Current deputies list: http://w1.c1.rada.gov.ua/pls/site2/fetchmps?sklid=9
  • Previous deputies list: http://w1.c1.rada.gov.ua/pls/site2/fetchmps?sklid=9&pid_id=-3

  • Deputy's information page: http://itd.rada.gov.ua/mps/info/page/15669

  • Deputy's faction changes: http://w1.c1.rada.gov.ua/pls/site2/pdeputatfrchanges?did=15669

  • Current faction members: http://w1.c1.rada.gov.ua/pls/site2/pfractionlist?pidid=2613

Contributors henare beastie87

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... [1G [1G-----> Ruby app detected [1G-----> Compiling Ruby [1G-----> Using Ruby version: ruby-2.0.0 [1G-----> Installing dependencies using bundler 1.15.2 [1G Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment [1G Fetching gem metadata from https://rubygems.org/...... [1G Fetching version metadata from https://rubygems.org/. [1G Fetching https://github.com/openaustralia/scraperwiki-ruby.git [1G 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. [1G Using bundler 1.15.2 [1G Fetching unf_ext 0.0.7.1 [1G Installing unf_ext 0.0.7.1 with native extensions [1G Fetching httpclient 2.6.0.1 [1G Installing httpclient 2.6.0.1 [1G Fetching mime-types 2.5 [1G Installing mime-types 2.5 [1G Fetching net-http-digest_auth 1.4 [1G Installing net-http-digest_auth 1.4 [1G Fetching net-http-persistent 2.9.4 [1G Installing net-http-persistent 2.9.4 [1G Fetching mini_portile 0.6.2 [1G Installing mini_portile 0.6.2 [1G Fetching ntlm-http 0.1.1 [1G Installing ntlm-http 0.1.1 [1G Fetching webrobots 0.1.1 [1G Installing webrobots 0.1.1 [1G Fetching sqlite3 1.3.10 [1G Installing sqlite3 1.3.10 with native extensions [1G Fetching unf 0.1.4 [1G Installing unf 0.1.4 [1G Fetching nokogiri 1.6.6.2 [1G Installing nokogiri 1.6.6.2 with native extensions [1G Fetching sqlite_magic 0.0.3 [1G Installing sqlite_magic 0.0.3 [1G Fetching domain_name 0.5.24 [1G Installing domain_name 0.5.24 [1G Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176) [1G Fetching http-cookie 1.0.2 [1G Installing http-cookie 1.0.2 [1G Fetching mechanize 2.7.3 [1G Installing mechanize 2.7.3 [1G Bundle complete! 2 Gemfile dependencies, 17 gems now installed. [1G Gems in the groups development and test were not installed. [1G Bundled gems are installed into ./vendor/bundle. [1G Bundle completed (12.70s) [1G Cleaning up the bundler cache. [1G-----> Detecting rake tasks [1G [1G [1G-----> Discovering process types [1G Procfile declares types -> scraper Injecting scraper and running... Fetching detail page urls from: http://w1.c1.rada.gov.ua/pls/site2/fetch_mps?skl_id=9 Fetching detail page urls from: http://w1.c1.rada.gov.ua/pls/site2/fetch_mps?skl_id=9&pid_id=-3 Fetching deputies' details... Fetching https://itd.rada.gov.ua/mps/info/expage/2524/9 /app/lib/deputies_scraper.rb:23:in `block in scrape_detail_pages': undefined method `text' for nil:NilClass (NoMethodError) from /app/lib/deputies_scraper.rb:16:in `each' from /app/lib/deputies_scraper.rb:16:in `scrape_detail_pages' from scraper.rb:20:in `<main>'

Data

Downloaded 7121 times by openaustralia beastie87 everypolitician henare chrismytton ondenman tmtmtmtm dosshhhik ivkil Viktorr123s MikeRalphson appleorange1

To download data sign in with GitHub

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

rows 10 / 627

id name given_name patronymic_name family_name area area_id term start_date end_date image party source_url faction faction_id
14393
Березкін Станіслав Семенович
Станіслав
Семенович
Березкін
Кіровоградська область
100
8
2018-03-01
2018-03-12
19126
Зубач Любомир Львович
Любомир
Львович
Зубач
Загальнодержавному багатомандатному округу
8
2014-10-27
2015-06-04
Політична партія "Об'єднання "САМОПОМІЧ"
Фракція Політичної партії "Об'єднання "САМОПОМІЧ"
2614
15819
Мураєв Євгеній Володимирович
Євгеній
Володимирович
Мураєв
Харківська область
181
8
2016-06-15
2019-07-04
2524
Абдуллін Олександр Рафкатович
Олександр
Рафкатович
Абдуллін
Загальнодержавному багатомандатному округу
8
2014-11-27
політична партія Всеукраїнське об'єднання "Батьківщина"
Фракція політичної партії "Всеукраїнське об'єднання "Батьківщина" у Верховній Раді України
2617
16067
Алексєєв Ігор Сергійович
Ігор
Сергійович
Алексєєв
Загальнодержавному багатомандатному округу
8
2014-11-27
Політична партія "НАРОДНИЙ ФРОНТ"
Фракція Політичної партії "НАРОДНИЙ ФРОНТ"
2612
17993
Алєксєєв Сергій Олегович
Сергій
Олегович
Алєксєєв
Загальнодержавному багатомандатному округу
8
2014-11-27
ПАРТІЯ "БЛОК ПЕТРА ПОРОШЕНКА"
Фракція ПАРТІЇ "БЛОК ПЕТРА ПОРОШЕНКА"
2613
12290
Амельченко Василь Васильович
Василь
Васильович
Амельченко
Загальнодержавному багатомандатному округу
8
2014-11-27
Радикальна Партія Олега Ляшка
Фракція Радикальної партії Олега Ляшка
2615
15839
Андрієвський Дмитро Йосипович
Дмитро
Йосипович
Андрієвський
м. Київ
222
8
2014-11-27
Фракція ПАРТІЇ "БЛОК ПЕТРА ПОРОШЕНКА"
2613
17983
Антонищак Андрій Федорович
Андрій
Федорович
Антонищак
Загальнодержавному багатомандатному округу
8
2014-11-27
ПАРТІЯ "БЛОК ПЕТРА ПОРОШЕНКА"
Фракція ПАРТІЇ "БЛОК ПЕТРА ПОРОШЕНКА"
2613
18058
Арешонков Володимир Юрійович
Володимир
Юрійович
Арешонков
Житомирська область
64
8
2014-11-27
Фракція ПАРТІЇ "БЛОК ПЕТРА ПОРОШЕНКА"
2613

Statistics

Average successful run time: 28 minutes

Total run time: 3 months

Total cpu time used: about 22 hours

Total disk space used: 377 KB

History

  • Auto ran revision 98312448 and failed .
    nothing changed in the database
  • Auto ran revision 98312448 and failed .
    nothing changed in the database
  • Auto ran revision 98312448 and failed .
    nothing changed in the database
  • Auto ran revision 98312448 and failed .
    nothing changed in the database
  • Auto ran revision 98312448 and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history