{"action":"closed","number":28158,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/28158","id":110891701,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/28158","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/28158.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/28158.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/28158","number":28158,"state":"closed","locked":false,"title":"Albania (Kuvendi): refresh all sources","user":{"login":"everypoliticianbot","id":12693984,"avatar_url":"https://avatars0.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 refresh of all sources for Albania - Kuvendi\n\n#### Output\n\n```\nSwitched to a new branch 'albania-assembly-1489596447'\nAdd memberships from sources/morph/wikipedia.csv\nAdd memberships from sources/morph/wikipedia-7.csv\nMerging with sources/morph/official-8.csv\nData Mismatches\n* 15 of 139 unmatched\n\t{:id=>\"9714\", :name=>\"Piro Kapurani\"}\n\t{:id=>\"28598\", :name=>\"Edmond Leka\"}\n\t{:id=>\"34174\", :name=>\"Edmond Zejno\"}\n\t{:id=>\"30023\", :name=>\"Dhurata Çupi\"}\n\t{:id=>\"14952\", :name=>\"Mirela Ferracaku\"}\n\t{:id=>\"9820\", :name=>\"Shkëlqim Troplini\"}\n\t{:id=>\"9840\", :name=>\"Antoneta Dhima\"}\n\t{:id=>\"9689\", :name=>\"Mimoza Hajdarmataj\"}\n\t{:id=>\"9614\", :name=>\"Edlira Çekrezi\"}\n\t{:id=>\"34175\", :name=>\"Flamur Çelaj\"}\nMerging with sources/morph/wikidata.csv\nData Mismatches\n  ☁ Mismatch in birth_date for cc761c3b-11c8-4108-9e1a-f65a55987d26 (1968-02-18) vs 1968-11-18 (for Q1727869)\n  ☁ Mismatch in birth_date for 76c53395-5899-4f3b-b32e-79a0ad868a43 (2017-03-01) vs 1963-11-26 (for Q462441)\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 131; 113 added\n\nDiscarding duplicate membership: {:person_id=>\"94e49302-8be3-4896-96c3-036388196424\", :organization_id=>\"f328d977-3f59-4891-9a07-a5a7ace80e0c\", :role=>\"member\", :on_behalf_of_id=>\"party/pd\", :area_id=>\"area/tiranë\", :sources=>[{:url=>\"https://sq.wikipedia.org/wiki/Kuvendi_i_Shqip%C3%ABris%C3%AB\"}], :legislative_period_id=>\"term/8\"}\nDiscarding duplicate membership: {:person_id=>\"b6c2f931-5ef9-476a-a74a-0a38af87cb62\", :organization_id=>\"f328d977-3f59-4891-9a07-a5a7ace80e0c\", :role=>\"member\", :on_behalf_of_id=>\"party/ps\", :area_id=>\"area/fier\", :sources=>[{:url=>\"https://sq.wikipedia.org/wiki/Kuvendi_i_Shqip%C3%ABris%C3%AB\"}], :legislative_period_id=>\"term/8\"}\nDiscarding duplicate membership: {:person_id=>\"d7e5fc4a-106b-4349-9ee9-d3f2efc5bc10\", :organization_id=>\"f328d977-3f59-4891-9a07-a5a7ace80e0c\", :role=>\"member\", :on_behalf_of_id=>\"party/ps\", :area_id=>\"area/tiranë\", :sources=>[{:url=>\"https://sq.wikipedia.org/wiki/Kuvendi_i_Shqip%C3%ABris%C3%AB\"}], :legislative_period_id=>\"term/8\"}\n\nTop identifiers:\n  124 x kuvendi\n  119 x wikidata\n  22 x freebase\n  13 x viaf\n  6 x pace\n\nCreating names.csv\nPersons matched to Wikidata: 119 ✓ | 94 ✘\n  No wikidata: Alban Zeneli (20a3df31-033f-4220-9c17-1a8354b0aceb)\n  No wikidata: Pjerin Ndreu (0497fa64-b243-4093-a360-df2cc2d3bba0)\n  No wikidata: Andrea Marto (67199272-61c0-4155-b1e5-3eb77d49937e)\n  No wikidata: Fatos Tushe (f9f077b8-7b7b-46e0-8297-a3aea2f59248)\n  No wikidata: Gledjon Rehovica (4daacb40-540f-4edf-b2c3-fbdc0575634b)\n  No wikidata: Agron Duka (3413781b-4f9f-4da7-95cb-fb159772db5b)\n  No wikidata: Luan Duzha (c0c53f8d-7ff5-49f0-aca1-db402fa2e8ef)\n  No wikidata: Mhill Fufi (7dcdca85-b004-4b03-af1d-a3d4886c1f77)\n  No wikidata: Mira Shehu (80d7f770-9672-4759-acc2-ba86cf844926)\n  No wikidata: Arben Isaraj (fd8cc70c-5665-4758-84b4-bc8c11e1eede)\nParties matched to Wikidata: 13 ✓ \nAreas matched to Wikidata: 0 ✓ | 24 ✘\n[albania-assembly-1489596447 e0ac224] Albania: Refresh from upstream changes\n 10 files changed, 533 insertions(+), 578 deletions(-)\n\n```","created_at":"2017-03-15T16:53:23Z","updated_at":"2017-03-16T11:00:06Z","closed_at":"2017-03-16T11:00:06Z","merged_at":null,"merge_commit_sha":"b17b9e42f72efae3d4c4cd4f81701e27d1161a7c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/28158/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/28158/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/28158/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/e0ac224ca029bd35d939cd2e6df16a4218019545","head":{"label":"everypolitician:albania-assembly-1489596447","ref":"albania-assembly-1489596447","sha":"e0ac224ca029bd35d939cd2e6df16a4218019545","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars1.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://avatars1.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":"EveryPolitician's core data store","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":"2017-03-15T18:48:39Z","pushed_at":"2017-03-16T10:59:16Z","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":1421614,"stargazers_count":71,"watchers_count":71,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":559,"forks":10,"open_issues":559,"watchers":71,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"13b9924c3aa862ba251ee5168c8a1f6253aaddd1","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars1.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://avatars1.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":"EveryPolitician's core data store","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":"2017-03-15T18:48:39Z","pushed_at":"2017-03-16T10:59:16Z","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":1421614,"stargazers_count":71,"watchers_count":71,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":559,"forks":10,"open_issues":559,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/28158"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/28158"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/28158"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/28158/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/28158/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/28158/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/e0ac224ca029bd35d939cd2e6df16a4218019545"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":533,"deletions":578,"changed_files":10}}
{"actor":{"display_login":"everypoliticianbot"}}