mysociety / kenya-senate-members

Scrapes parliament.go.ke

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


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

Contributors jacksonj04

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... (i) Scraping from http://parliament.go.ke/the-senate/senators?start=0 Dullo Fatuma Adan Abdullahi Ibrahim Ali Issa Juma Boy Mercy Chebeni Samson K Cherarkey Aaron Kipkirui Cheruiyot Christine Zawadi Gona Farhiya Ali Haji Mohamed Yusuf Haji Abshiro Soka Halake Godana Hargura Falhada Dekow Iman Malachy Charles Ekal Imana Getrude Musuruve Inimah Boniface Mutinda Kabaka Moses Otieno Kajwang' Margaret Jepkoech Kamar Irungu Kang'ata Sylvia Mueni Kasanga George Khaniri (i) Counted 20 Members so far... (i) Scraping from http://parliament.go.ke/the-senate/senators?start=20 Charles Reubenson Kibiru Susan Wakarura Kihika Mutula Junior Kilonzo Wamatangi Paul Kimani Kithure Kindiki Ephraim Mwangi Kirinyaga Christopher Andrew Langat Steve Ltumbesi Lelegwe Franklin Mithika Linturi Anuar Loitiptip Petronila Were Lokorio Stewart Mwachiru Madzayo Mohamed M Mahamud Beatrice Kwamboka Makori Cleophas W Malalah Naomi Shiyonga Masitsa Michael Maling'a Mbito Alice Chepkorir Milgo Erick Okong'o Mogeni Gideon Kipsielei Moi (i) Counted 40 Members so far... (i) Scraping from http://parliament.go.ke/the-senate/senators?start=40 Phillip Salau Mpaayei Beth Wambui Mugo Onesimus Kipchumba Murkomen Paul Githiomi Mwangi Johnes M Mwaruma Isaack Mwaura Haji Mohamed Mwinyi John Kinyua Nderitu Peter Njeru Ndwiga Rose Ogendo Nyamunga Ben Oluoch Okello Ledama Olekina Millicent Omanga Samson Kegengo Ongeri James Orengo Fredrick Otieno Outa Judith Ramaita Pareno Samuel Losuron Poghisio Victor Prengei Johnson Arthur Sakaja (i) Counted 60 Members so far... (i) Scraping from http://parliament.go.ke/the-senate/senators?start=60 Mary Yiane Seneta Sitswila Amos Wako Enoch Kiio Wambua Naomi Jilo Waqo Golich Juma Wario Moses Masika Wetang'ula Agnes Philomena Zani (i) Counted 67 Members so far... (i) Done. (i) Counted 67 Members in total <!> 0 unreconciled counties: [] <!> 0 unreconciled parties: []

Data

Downloaded 515 times by everypolitician

To download data sign in with GitHub

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

rows 10 / 67

name url district_id party_id id honorific_id party county honorific_string
Dullo Fatuma Adan
Q1499046
Q7141057
3859-sen-adan-dullo-fatuma
Q47515115
PDR
Isiolo
Sen.
Abdullahi Ibrahim Ali
Q1852209
Q27963537
3871-sen-ali-abdullahi-ibrahim
Q47515115
JP
Wajir
Sen.
Issa Juma Boy
Q952571
Q1640905
3889-sen-boy-issa-juma
Q47515115
ODM
Kwale
Sen.
Mercy Chebeni
Q1640905
3890-sen-chebeni-mercy
Q47515115
ODM
Sen.
Samson K Cherarkey
Q1964569
Q27963537
3891-sen-cherarkey-samson-k
Q47515115
JP
Nandi
Sen.
Aaron Kipkirui Cheruiyot
Q1739252
3868-sen-cheruiyot-aaron-kipkirui
Q47515115
N/A
Kericho
Sen.
Christine Zawadi Gona
3892-sen-gona-christine-zawadi
Q47515115
N/A
Sen.
Farhiya Ali Haji
Q27963537
3893-sen-haji-farhiya-ali
Q47515115
JP
Sen.
Mohamed Yusuf Haji
Q1494292
Q27963537
3855-sen-haji-mohamed-yusuf
Q47515115
JP
Garisa
Sen.
Abshiro Soka Halake
Q1422517
3894-sen-halake-abshiro-soka
Q47515115
KANU
Sen.

Statistics

Average successful run time: half a minute

Total run time: about 2 hours

Total cpu time used: 1 minute

Total disk space used: 128 KB

History

  • Auto ran revision db544ef5 and completed successfully .
    nothing changed in the database
    4 pages scraped
  • Auto ran revision db544ef5 and completed successfully .
    nothing changed in the database
    195 pages scraped
  • Auto ran revision db544ef5 and completed successfully .
    nothing changed in the database
    4 pages scraped
  • Auto ran revision db544ef5 and completed successfully .
    nothing changed in the database
    4 pages scraped
  • Auto ran revision db544ef5 and completed successfully .
    nothing changed in the database
    4 pages scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Python

kenya-senate-members / scraper.py