{"action":"opened","number":9107,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/9107","id":68483519,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/9107","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/9107.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/9107.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/9107","number":9107,"state":"open","locked":false,"title":"India (Lok Sabha): 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 India - Lok Sabha\n\n#### Output\n\n```\nAdd memberships from sources/morph/data.csv\nMerging with sources/morph/wikidata.csv\n* 167 of 541 unmatched\n\t{:id=>\"Q15719409\", :name=>\"Pratap Simha\"}\n\t{:id=>\"Q16196374\", :name=>\"Udayanraje Bhosale\"}\n\t{:id=>\"Q17037862\", :name=>\"Satyapal Singh Saini\"}\n\t{:id=>\"Q16908900\", :name=>\"Raksha Khadase\"}\n\t{:id=>\"Q16914021\", :name=>\"B B Patil\"}\n\t{:id=>\"Q16901254\", :name=>\"Hemendra Chandra Singh\"}\n\t{:id=>\"Q16897825\", :name=>\"Balka Suman\"}\n\t{:id=>\"Q17090446\", :name=>\"Devendra Singh\"}\n\t{:id=>\"Q16729646\", :name=>\"Harish Meena\"}\n\t{:id=>\"Q16937423\", :name=>\"Selvakumara Chinnayan S\"}\n\nData Mismatches\n  ☁ Mismatch in birth_date for 58706936-ee16-4050-a9fb-0152ad829010 (1953-03-18) vs 1953-03-19 (for Q1151446)\n  ☁ Mismatch in birth_date for c0347ca6-b4a7-4c73-b3ba-7ec880577495 (1960-02-06) vs 1960-06-02 (for Q16736873)\n  ☁ Mismatch in birth_date for 53112311-7e29-4e73-8f6a-48e205989803 (1951-06-26) vs 1951-06-16 (for Q16887749)\n  ☁ Mismatch in birth_date for f38e1630-5d49-47a5-b1cb-9a2ea42fa8d6 (1954-06-26) vs 1954-04-26 (for Q16897817)\n  ☁ Mismatch in birth_date for 539da6ee-1751-4ee7-be78-b1af6ac80cba (1975-06-01) vs 1975-10-15 (for Q16897890)\n  ☁ Mismatch in birth_date for 22c0b0ce-b644-43c5-bf02-2168d4c7f01b (1954-03-16) vs 1954-05-16 (for Q16901207)\n  ☁ Mismatch in birth_date for 1620db3e-6da4-46e0-8b56-8df56b4b9c62 (1958-05-02) vs 1958-07-18 (for Q16901228)\n  ☁ Mismatch in birth_date for 2da66dc8-3377-4751-a334-625496240026 (1944-12-09) vs 1944-12-08 (for Q16902193)\n  ☁ Mismatch in birth_date for 4795b2bf-d305-480a-870c-b4fdb2d3b663 (1956-01-12) vs 1956-01-11 (for Q16910135)\n  ☁ Mismatch in birth_date for 05dd61fa-f008-4b4d-8f88-a5ca17d8ce3b (1962-06-01) vs 1966 (for Q16914095)\n  ☁ Mismatch in birth_date for ef906eb2-f252-49d5-abdd-090ec8121683 (1960-12-15) vs 1961 (for Q16980133)\n  ☁ Mismatch in birth_date for 310ebf00-a9a9-43d4-b732-b588fc2fa8d2 (1973-10-17) vs 1972-10-17 (for Q4900687)\n  ☁ Mismatch in birth_date for a098813c-c39b-4911-832c-f37fc6cbfeb6 (1948-03-04) vs 1945-02-28 (for Q6035995)\n  ☁ Mismatch in birth_date for f8f8f002-6042-46dd-85da-76cc9c00dc63 (1971-03-12) vs 1972-03-13 (for Q6712425)\n  ☁ Mismatch in birth_date for f8347c00-17f6-40ed-89f0-ed9a151cdc4d (1969-05-22) vs 1959-05-22 (for Q6809265)\n\nAdding GenderBalance results from sources/gender-balance/results.csv\n  Unclear gender vote pattern: {:uuid=>\"ad794b5a-0266-4098-9f31-dfa7540cd767\", :female=>4, :male=>2, :other=>0, :skip=>0, :total=>6}\n  ⚥ data for 200; 167 added\n\nCreating 1 term file\n\nTop identifiers:\n  374 x wikidata\n  29 x viaf\n  19 x freebase\n  12 x imdb\n  11 x bnf\n\nCreating names.csv\nCreating unstable/positions.csv\n  Unknown position (x1): Q825548 List of Chief Ministers of Nagaland — e.g. Q3530214\n  Unknown position (x1): Q3525212 Ministry of Consumer Affairs, Food and Public Distribution — e.g. Q2045095\n  Unknown position (x1): Q3524953 Ministry of External Affairs — e.g. Q3595525\n  Unknown position (x1): Q4294642 Ministry of Human Resource Development — e.g. Q2604936\n  Unknown position (x1): Q167156 Ministry of Road Transport and Highways — e.g. Q1287413\n  Unknown position (x1): Q4294472 Ministry of Science and Technology — e.g. Q2604936\n  Unknown position (x1): Q4294334 Ministry of Urban Development — e.g. Q1287413\n  Unknown position (x1): Q7260283 Punjab Pradesh Congress Committee — e.g. Q3633236\nWikidata Persons matched: 374 ✓ | 167 ✘\n  Missing: Prabakaran, Shri K.R.P.\n  Missing: Venkatesh Babu, Shri T.G.\n  Missing: Kundariya, Shri Mohanbhai Kalyanji\n  Missing: Chaudhary, Shri Babulal\n  Missing: Sarania, Shri Naba (Hira) Kumar\n  Missing: Geete, Shri Anant Gangaram\n  Missing: Antony, Shri Anto\n  Missing: Bhatt, Smt. Ranjanben\n  Missing: Singh, Shri Devendra (Alias) Bhole Singh\n  Missing: Satav, Shri Rajeev Shankarrao\nWikidata Parties matched: 0 ✓ | 36 ✘\n\n```","created_at":"2016-05-01T00:53:14Z","updated_at":"2016-05-01T00:53:14Z","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/9107/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/9107/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/9107/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/46e74d61883cbb45a8ef31cde59d7c0f4accf9a4","head":{"label":"everypolitician:india-lok-sabha-1462063730","ref":"india-lok-sabha-1462063730","sha":"46e74d61883cbb45a8ef31cde59d7c0f4accf9a4","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-04-26T06:28:08Z","pushed_at":"2016-05-01T00:51:46Z","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":740005,"stargazers_count":22,"watchers_count":22,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":346,"forks":6,"open_issues":346,"watchers":22,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"6386ea1c47f5805e2f078e26ababe5ec78f5bc49","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-04-26T06:28:08Z","pushed_at":"2016-05-01T00:51:46Z","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":740005,"stargazers_count":22,"watchers_count":22,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":346,"forks":6,"open_issues":346,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/9107"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/9107"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/9107"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/9107/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/9107/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/9107/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/46e74d61883cbb45a8ef31cde59d7c0f4accf9a4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":2,"changed_files":2}}