{"action":"opened","number":84502,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/84502","id":174191626,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/84502","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/84502.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/84502.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/84502","number":84502,"state":"open","locked":false,"title":"Uruguay (Chamber of Deputies): refresh official","user":{"login":"everypoliticianbot","id":12693984,"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 official for Uruguay - Chamber of Deputies\n\n#### Output\n\n```\nSwitched to a new branch 'uruguay-deputies-1520718884'\n⤈ No ORDER BY for sources/morph/official.csv\nAdd memberships from sources/morph/official.csv\n4811588 -> 1928f1e8-6558-4ae1-988d-a6865477b279\n4811634 -> ee2f713f-c4c8-4ad4-ba75-5514af79f70e\n4811696 -> 1c05ae20-6955-4a0d-957b-c24647d66a61\n4811819 -> 53d5422c-68f9-4133-86bb-b5db774c5017\nAdd memberships from sources/archive/official-vanished.csv\nMerging with sources/morph/wikidata.csv\nData Mismatches\n* 296 of 357 unmatched\n\t{:id=>\"Q34539811\", :name=>\"Juan Paullier\"}\n\t{:id=>\"Q7971873\", :name=>\"Washington García Rijo\"}\n\t{:id=>\"Q5934773\", :name=>\"Jorge Chapper\"}\n\t{:id=>\"Q6101105\", :name=>\"Raúl Casás\"}\n\t{:id=>\"Q889187\", :name=>\"José María Plá\"}\n\t{:id=>\"Q5951011\", :name=>\"Juan Manuel Garino\"}\n\t{:id=>\"Q8197947\", :name=>\"Amílcar Vasconcellos\"}\n\t{:id=>\"Q17993385\", :name=>\"José F. Arias\"}\n\t{:id=>\"Q6278415\", :name=>\"Jorge Orrico\"}\n\t{:id=>\"Q5751645\", :name=>\"Carlos Roxlo\"}\nMerging with sources/morph/genderbalance.csv\nData Mismatches\n* 3 of 106 unmatched\n\t{}\nDiscarding duplicate membership: {:person_id=>\"1928f1e8-6558-4ae1-988d-a6865477b279\", :organization_id=>\"1f8d1d06-4b31-4afd-86c5-80de2638b93c\", :role=>\"member\", :on_behalf_of_id=>\"party/partido_frente_amplio\", :area_id=>\"area/montevideo\", :sources=>[{:url=>\"https://parlamento.gub.uy/camarasycomisiones/legisladores/11588\"}], :legislative_period_id=>\"term/48\"}\nDiscarding duplicate membership: {:person_id=>\"ee2f713f-c4c8-4ad4-ba75-5514af79f70e\", :organization_id=>\"1f8d1d06-4b31-4afd-86c5-80de2638b93c\", :role=>\"member\", :on_behalf_of_id=>\"party/partido_frente_amplio\", :area_id=>\"area/montevideo\", :sources=>[{:url=>\"https://parlamento.gub.uy/camarasycomisiones/legisladores/11634\"}], :legislative_period_id=>\"term/48\"}\n\nTop identifiers:\n  61 x wikidata\n  5 x autores_uy\n  3 x lcauth\n  3 x viaf\n  2 x gnd\n\nCreating names.csv\nPersons matched to Wikidata: 61 ✓ | 62 ✘\n  No wikidata: Elisabeth Arrieta (da87de73-0f90-4c60-ad50-1a81f010344d)\n  No wikidata: Bettiana Díaz (ee2f713f-c4c8-4ad4-ba75-5514af79f70e)\n  No wikidata: Washington Silvera (a35e81d2-efe4-427c-a3da-37b26b49ae2f)\n  No wikidata: Luis Enrique Gallo Cantera (b75be475-13cf-489b-9d40-e3aff5eb6834)\n  No wikidata: Luis Alfredo Fratti (bae886b6-6c42-4b95-9661-57f8cac3b0e0)\n  No wikidata: José Yurramendi Pérez (b3a24d0b-7d30-4786-b3ac-50abdb861884)\n  No wikidata: Saúl Aristimuño (4572de7f-ad5e-4014-859c-e1f9b582f0af)\n  No wikidata: Catalina Correa (2f966726-a53b-49b7-95bb-664a65317650)\n  No wikidata: Constante Mendiondo (e4a3d779-94fe-4fa2-ad9f-bad8b0818259)\n  No wikidata: Juan José Olaizola (c901e224-7aae-4ecc-8b51-0c3d6c1180bc)\nParties matched to Wikidata: 5 ✓ \nAreas matched to Wikidata: 0 ✓ | 19 ✘\n[uruguay-deputies-1520718884 8b51c64] Uruguay: Refresh from upstream changes\n 8 files changed, 617 insertions(+), 733 deletions(-)\n\n```","created_at":"2018-03-10T21:57:38Z","updated_at":"2018-03-10T21:57:38Z","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/84502/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/84502/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/84502/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/8b51c64b7754632e0de1bcbad2ca25b12e471854","head":{"label":"everypolitician:uruguay-deputies-1520718884","ref":"uruguay-deputies-1520718884","sha":"8b51c64b7754632e0de1bcbad2ca25b12e471854","user":{"login":"everypolitician","id":12497298,"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,"name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"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":"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":"2018-02-21T09:42:23Z","pushed_at":"2018-03-10T21:56:13Z","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":1722596,"stargazers_count":98,"watchers_count":98,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":537,"license":null,"forks":16,"open_issues":537,"watchers":98,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"78b0481ef4619f73b5d093f227ad98af0e2055d9","user":{"login":"everypolitician","id":12497298,"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,"name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"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":"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":"2018-02-21T09:42:23Z","pushed_at":"2018-03-10T21:56:13Z","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":1722596,"stargazers_count":98,"watchers_count":98,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":537,"license":null,"forks":16,"open_issues":537,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/84502"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/84502"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/84502"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/84502/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/84502/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/84502/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/8b51c64b7754632e0de1bcbad2ca25b12e471854"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":617,"deletions":733,"changed_files":8}}
{"actor":{"display_login":"everypoliticianbot"}}