{"action":"opened","number":6959,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/6959","id":64838143,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/6959","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/6959.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/6959.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/6959","number":6959,"state":"open","locked":false,"title":"Kenya (National Assembly): refresh data","user":{"login":"everypoliticianbot","id":12693984,"avatar_url":"https://avatars.githubusercontent.com/u/12693984?v=3","gravatar_id":"","url":"https://api.github.com/users/everypoliticianbot","html_url":"https://github.com/everypoliticianbot","followers_url":"https://api.github.com/users/everypoliticianbot/followers","following_url":"https://api.github.com/users/everypoliticianbot/following{/other_user}","gists_url":"https://api.github.com/users/everypoliticianbot/gists{/gist_id}","starred_url":"https://api.github.com/users/everypoliticianbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypoliticianbot/subscriptions","organizations_url":"https://api.github.com/users/everypoliticianbot/orgs","repos_url":"https://api.github.com/users/everypoliticianbot/repos","events_url":"https://api.github.com/users/everypoliticianbot/events{/privacy}","received_events_url":"https://api.github.com/users/everypoliticianbot/received_events","type":"User","site_admin":false},"body":"Automated data refresh for Kenya - National Assembly\n\n#### Output\n\n```\nRegenerating sources/morph/data.csv\nRegenerating sources/morph/official.csv\nRegenerating sources/morph/wikidata.csv\nRegenerating sources/morph/terms.csv\nRegenerating sources/gender-balance/results.csv\nRegenerating sources/wikidata/groups.json\nRegenerating sources/wikidata/positions.json\nAdd memberships from sources/morph/data.csv\nMerging with sources/morph/official.csv\n  Match incoming name to name\n* 1 of 174 unmatched\n\t{:id=>\"2331\", :name=>\"Mutua Marcus Muluvi\"}\nMerging with sources/morph/wikidata.csv\n  Match incoming name to name\n* 62 of 106 unmatched\n\t{:id=>\"Q2607345\", :name=>\"Kenneth Marende\"}\n\t{:id=>\"Q5131357\", :name=>\"Clement Kungu Waibara\"}\n\t{:id=>\"Q57291\", :name=>\"Mwai Kibaki\"}\n\t{:id=>\"Q6701602\", :name=>\"Luka Kigen\"}\n\t{:id=>\"Q3295164\", :name=>\"Martha Karua\"}\n\t{:id=>\"Q6696106\", :name=>\"Lucas Chepkitony\"}\n\t{:id=>\"Q5382308\", :name=>\"Ephraim Maina\"}\n\t{:id=>\"Q7175166\", :name=>\"Peter Kenneth\"}\n\t{:id=>\"Q5200387\", :name=>\"Cyprian Ojwang Omollo\"}\n\t{:id=>\"Q16213140\", :name=>\"Godhana Dhadho Gaddae\"}\n\nData Mismatches\n  ☁ Mismatch in birth_date for 32bbb6b5-3cca-4ebf-9775-7572028b154f (1987) vs 1986 (for Q16866303)\n  ☁ Mismatch in birth_date for 6161b2ca-deba-4a37-831e-571f023b32b5 (1978-07-06) vs 1978-06-06 (for Q17198176)\n  ☁ Mismatch in birth_date for 8411c68d-6894-4e7d-b477-84fd35596c0e (1982-10-15) vs 1982-11-15 (for Q447119)\n  ☁ Mismatch in birth_date for 8bd4c1df-14ae-4717-a75c-6c0c60a4a4f5 (1958) vs 1953-03-09 (for Q4664957)\n  ☁ Mismatch in birth_date for 658e0ba6-a77a-4497-acfc-a92239ef10f3 (1967-06-15) vs 1969 (for Q4682154)\n  ☁ Mismatch in birth_date for 72cc04a5-9cb4-4582-bd97-0c943de9a988 (1953) vs 1957-01-01 (for Q4696013)\n  ☁ Mismatch in birth_date for 891b2fc3-6492-41c1-bce0-27549023a6c7 (1956-05-20) vs 1955-05-20 (for Q6251185)\n  ☁ Mismatch in birth_date for dec2ec62-ef5e-47ae-aa79-5382090a8697 (1950) vs 1965 (for Q7409808)\n\nUnclear gender vote pattern: {:uuid=>\"c3b74109-ff27-4d1b-a02a-c4346fd1a899\", :female=>\"4\", :male=>\"1\", :other=>\"1\", :skip=>\"0\", :total=>\"6\"}\nUnclear gender vote pattern: {:uuid=>\"70694968-7e20-4f57-83e9-4af0da2bbf0b\", :female=>\"4\", :male=>\"1\", :other=>\"0\", :skip=>\"0\", :total=>\"5\"}\nUnclear gender vote pattern: {:uuid=>\"ce249eb5-9e17-42a6-a213-7e54d2b54707\", :female=>\"5\", :male=>\"2\", :other=>\"0\", :skip=>\"0\", :total=>\"7\"}\nUnclear gender vote pattern: {:uuid=>\"29c0cce9-6f1d-46e5-9228-418b603ee1c9\", :female=>\"4\", :male=>\"1\", :other=>\"0\", :skip=>\"0\", :total=>\"5\"}\nUnclear gender vote pattern: {:uuid=>\"92e6fdc3-a227-4915-b217-801d1ba0391f\", :female=>\"4\", :male=>\"2\", :other=>\"0\", :skip=>\"0\", :total=>\"6\"}\n⚥ 293\nCreating term-11.csv\nTop identifiers:\n  44 x wikidata\n  1 x freebase\n  1 x iiaf\n\nCreating names.csv\nCreating unstable/positions.csv\nWikidata Persons: 44 ✓ | 308 ✘\n  Missing: Losiakou David Pkosing\n  Missing: Shariff Athman Ali\n  Missing: John Karanja Kihagi\n  Missing: Benson Mutura Kangara\n  Missing: Amina Abdalla\n  Missing: Mohamed Abdi Haji Mohamed\n  Missing: Eng Joseph Gachoki Gitari\n  Missing: Alice Wambui Ng'ang'a\n  Missing: Grace Jelagat Kipchoim\n  Missing: Francis Mwanzia Nyenze\nWikidata Parties: 21 ✓ | 2 ✘\n  Missing: Independent (party/independent)\n  Missing: Independent Aspirant (party/independent_aspirant)\n\n```","created_at":"2016-03-31T18:40:52Z","updated_at":"2016-03-31T18:40:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/6959/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/6959/comments","review_comment_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/comments{/number}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/6959/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/5c0161dbbe2ad61c84433dfefedf46449b93501f","head":{"label":"everypolitician:kenya-assembly-1459449343","ref":"kenya-assembly-1459449343","sha":"5c0161dbbe2ad61c84433dfefedf46449b93501f","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"repo":{"id":34725861,"name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everypolitician/everypolitician-data","description":"","fork":false,"url":"https://api.github.com/repos/everypolitician/everypolitician-data","forks_url":"https://api.github.com/repos/everypolitician/everypolitician-data/forks","keys_url":"https://api.github.com/repos/everypolitician/everypolitician-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everypolitician/everypolitician-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everypolitician/everypolitician-data/teams","hooks_url":"https://api.github.com/repos/everypolitician/everypolitician-data/hooks","issue_events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/events{/number}","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/events","assignees_url":"https://api.github.com/repos/everypolitician/everypolitician-data/assignees{/user}","branches_url":"https://api.github.com/repos/everypolitician/everypolitician-data/branches{/branch}","tags_url":"https://api.github.com/repos/everypolitician/everypolitician-data/tags","blobs_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/{sha}","languages_url":"https://api.github.com/repos/everypolitician/everypolitician-data/languages","stargazers_url":"https://api.github.com/repos/everypolitician/everypolitician-data/stargazers","contributors_url":"https://api.github.com/repos/everypolitician/everypolitician-data/contributors","subscribers_url":"https://api.github.com/repos/everypolitician/everypolitician-data/subscribers","subscription_url":"https://api.github.com/repos/everypolitician/everypolitician-data/subscription","commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/everypolitician/everypolitician-data/contents/{+path}","compare_url":"https://api.github.com/repos/everypolitician/everypolitician-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everypolitician/everypolitician-data/merges","archive_url":"https://api.github.com/repos/everypolitician/everypolitician-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everypolitician/everypolitician-data/downloads","issues_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues{/number}","pulls_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls{/number}","milestones_url":"https://api.github.com/repos/everypolitician/everypolitician-data/milestones{/number}","notifications_url":"https://api.github.com/repos/everypolitician/everypolitician-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/labels{/name}","releases_url":"https://api.github.com/repos/everypolitician/everypolitician-data/releases{/id}","deployments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/deployments","created_at":"2015-04-28T11:10:07Z","updated_at":"2016-03-23T13:51:34Z","pushed_at":"2016-03-31T18:37:59Z","git_url":"git://github.com/everypolitician/everypolitician-data.git","ssh_url":"git@github.com:everypolitician/everypolitician-data.git","clone_url":"https://github.com/everypolitician/everypolitician-data.git","svn_url":"https://github.com/everypolitician/everypolitician-data","homepage":"http://everypolitician.org/","size":644349,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":288,"forks":4,"open_issues":288,"watchers":20,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"daccea1a05610bfc99a2c3442856750c63c730d0","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"repo":{"id":34725861,"name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everypolitician/everypolitician-data","description":"","fork":false,"url":"https://api.github.com/repos/everypolitician/everypolitician-data","forks_url":"https://api.github.com/repos/everypolitician/everypolitician-data/forks","keys_url":"https://api.github.com/repos/everypolitician/everypolitician-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everypolitician/everypolitician-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everypolitician/everypolitician-data/teams","hooks_url":"https://api.github.com/repos/everypolitician/everypolitician-data/hooks","issue_events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/events{/number}","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/events","assignees_url":"https://api.github.com/repos/everypolitician/everypolitician-data/assignees{/user}","branches_url":"https://api.github.com/repos/everypolitician/everypolitician-data/branches{/branch}","tags_url":"https://api.github.com/repos/everypolitician/everypolitician-data/tags","blobs_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/{sha}","languages_url":"https://api.github.com/repos/everypolitician/everypolitician-data/languages","stargazers_url":"https://api.github.com/repos/everypolitician/everypolitician-data/stargazers","contributors_url":"https://api.github.com/repos/everypolitician/everypolitician-data/contributors","subscribers_url":"https://api.github.com/repos/everypolitician/everypolitician-data/subscribers","subscription_url":"https://api.github.com/repos/everypolitician/everypolitician-data/subscription","commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/everypolitician/everypolitician-data/contents/{+path}","compare_url":"https://api.github.com/repos/everypolitician/everypolitician-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everypolitician/everypolitician-data/merges","archive_url":"https://api.github.com/repos/everypolitician/everypolitician-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everypolitician/everypolitician-data/downloads","issues_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues{/number}","pulls_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls{/number}","milestones_url":"https://api.github.com/repos/everypolitician/everypolitician-data/milestones{/number}","notifications_url":"https://api.github.com/repos/everypolitician/everypolitician-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/labels{/name}","releases_url":"https://api.github.com/repos/everypolitician/everypolitician-data/releases{/id}","deployments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/deployments","created_at":"2015-04-28T11:10:07Z","updated_at":"2016-03-23T13:51:34Z","pushed_at":"2016-03-31T18:37:59Z","git_url":"git://github.com/everypolitician/everypolitician-data.git","ssh_url":"git@github.com:everypolitician/everypolitician-data.git","clone_url":"https://github.com/everypolitician/everypolitician-data.git","svn_url":"https://github.com/everypolitician/everypolitician-data","homepage":"http://everypolitician.org/","size":644349,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":288,"forks":4,"open_issues":288,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/6959"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/6959"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/6959"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/6959/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/6959/comments"},"review_comment":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/6959/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/5c0161dbbe2ad61c84433dfefedf46449b93501f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":107,"deletions":117,"changed_files":3}}