{"action":"opened","number":107037,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/107037","id":205693211,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NjkzMjEx","html_url":"https://github.com/everypolitician/everypolitician-data/pull/107037","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/107037.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/107037.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/107037","number":107037,"state":"open","locked":false,"title":"Sri Lanka (Parliament): refresh wikidata","user":{"login":"everypoliticianbot","id":12693984,"node_id":"MDQ6VXNlcjEyNjkzOTg0","avatar_url":"https://avatars3.githubusercontent.com/u/12693984?v=4","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 refresh of wikidata for Sri Lanka - Parliament\n\n#### Output\n\n```\nSwitched to a new branch 'sri-lanka-parliament-1533206444'\n⤈ No ORDER BY for sources/morph/wikidata.csv\nAdd memberships from sources/morph/official.csv\nMerging with sources/morph/wikidata.csv\nData Mismatches\n  ☁ Mismatch in birth_date for 6d5449ad-0e64-4719-ab0d-39a7a5172d60 (1956-10-09) vs 1956-10-05 (for Q12978845)\n  ☁ Mismatch in birth_date for 0616d4cf-fe55-4aa2-ad2b-1e4117bd9d13 (1975-10-24) vs 1975-10-25 (for Q19605011)\n  ☁ Mismatch in birth_date for 8fcb5ad8-30ab-4307-b875-158f38ff7f55 (1958-04-05) vs 1958-05-05 (for Q7293179)\n  ☁ Mismatch in birth_date for 57ebb0af-5631-4b2f-952e-e67fc8c3a63f (1963-09-02) vs 1960-09-02 (for Q7908926)\n* 10 of 216 unmatched\n\t{:id=>\"Q20987449\", :name=>\"Niroshan Premaratne\"}\n\t{:id=>\"Q16312221\", :name=>\"Dharmalingam Siddarthan\"}\n\t{:id=>\"Q17074062\", :name=>\"Sarath Chandrasiri Mayadunne\"}\n\t{:id=>\"Q20847049\", :name=>\"Gnanamuthu Srineshan\"}\n\t{:id=>\"Q20987480\", :name=>\"Shantha Abeysekara\"}\n\t{:id=>\"Q7199791\", :name=>\"Piyasena Gamage\"}\n\t{:id=>\"Q20987401\", :name=>\"Dushmantha Mithrapala\"}\n\t{:id=>\"Q12975542\", :name=>\"Alim Mohamed Hisbulla\"}\n\t{:id=>\"Q20855460\", :name=>\"Sathasivam Vijenthiran\"}\n\t{:id=>\"Q20987380\", :name=>\"Chamara Sampath Dassanayake\"}\nMerging with sources/morph/genderbalance.csv\nData Mismatches\n  ☁ Mismatch in gender for 1a7a0f8b-a9c9-45e9-bca3-d2c41e9f8448 (female) vs male (for )\n\nTop identifiers:\n  206 x wikidata\n  13 x freebase\n  10 x viaf\n  7 x lcauth\n  6 x isni\n\nCreating names.csv\nPersons matched to Wikidata: 206 ✓ | 22 ✘\n  No wikidata: Heshan Withanage (6dbad7e1-229b-4282-9d08-dfca00ac9200)\n  No wikidata: M. H. M. Salman (649eee73-626b-4b8d-a0ed-12158bf56b6b)\n  No wikidata: Rohini Kumari Wijerathna (29b62fd2-d9e1-4529-9f43-c7810d7dc6a4)\n  No wikidata: M. L. A. M. Hizbullah (15ca57a0-ac0f-486b-8a3d-101cefcfb44b)\n  No wikidata: T. Ranjith De Zoysa (be5f4353-dc80-4020-bce2-bc5d7df1cf80)\n  No wikidata: Piyal Nishantha De Silva (44ba407c-d747-435a-ac97-8a899ffc165b)\n  No wikidata: Ashu Marasinghe (1fa602db-75bd-4656-a7b3-7dc110084afb)\n  No wikidata: K. K. Piyadasa (1e43b195-a93a-467c-8a6a-aa5f0ae6ebd8)\n  No wikidata: J. C. Alawathuwala (15ef28e1-3b28-410b-ad83-efc87657fd43)\n  No wikidata: Annamalai Nadesu Sivasakthi (f3713ca0-2c8a-4825-a39a-488945cc44fd)\nParties matched to Wikidata: 6 ✓ \nAreas matched to Wikidata: 0 ✓ | 24 ✘\n[sri-lanka-parliament-1533206444 816a707] Sri Lanka: Refresh from upstream changes\n 3 files changed, 58 insertions(+), 18 deletions(-)\n\n```","created_at":"2018-08-02T10:48:15Z","updated_at":"2018-08-02T10:48:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/107037/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/107037/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/107037/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/816a707ae1c4bced203499d8a79094d3b309948b","head":{"label":"everypolitician:sri-lanka-parliament-1533206444","ref":"sri-lanka-parliament-1533206444","sha":"816a707ae1c4bced203499d8a79094d3b309948b","user":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","avatar_url":"https://avatars2.githubusercontent.com/u/12497298?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkzNDcyNTg2MQ==","name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","avatar_url":"https://avatars2.githubusercontent.com/u/12497298?v=4","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":"data for national legislatures worldwide","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":"2018-08-02T10:38:35Z","pushed_at":"2018-08-02T10:48:11Z","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":1813350,"stargazers_count":111,"watchers_count":111,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":553,"license":null,"forks":21,"open_issues":553,"watchers":111,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"9b63be1c0243873e425b6e1055daf30628982446","user":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","avatar_url":"https://avatars2.githubusercontent.com/u/12497298?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkzNDcyNTg2MQ==","name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","avatar_url":"https://avatars2.githubusercontent.com/u/12497298?v=4","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":"data for national legislatures worldwide","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":"2018-08-02T10:38:35Z","pushed_at":"2018-08-02T10:48:11Z","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":1813350,"stargazers_count":111,"watchers_count":111,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":553,"license":null,"forks":21,"open_issues":553,"watchers":111,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/107037"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/107037"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/107037"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/107037/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/107037/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/107037/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/816a707ae1c4bced203499d8a79094d3b309948b"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":58,"deletions":18,"changed_files":3}}
{"actor":{"display_login":"everypoliticianbot"}}