{"action":"opened","number":120323,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/120323","id":229980874,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5OTgwODc0","html_url":"https://github.com/everypolitician/everypolitician-data/pull/120323","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/120323.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/120323.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/120323","number":120323,"state":"open","locked":false,"title":"Peru (Congress): 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 Peru - Congress\n\n#### Output\n\n```\nSwitched to a new branch 'peru-congreso-1541973037'\n21:52:00 Validating CSVs\n21:52:00 Refetching sources/morph/wikidata.csv\n21:52:01 Refetching sources/wikidata/groups.json\n21:52:02 Refetching sources/wikidata/positions.json\n21:52:09 Refetching sources/wikidata/elections.json\n21:52:10 Add memberships from sources/morph/official.csv\n21:52:10 Merging with sources/morph/wikidata.csv\n\t* 6 of 95 unmatched\n\t{:id=>\"Q16606863\", :name=>\"Michael Urtecho Medina\"}\n\t{:id=>\"Q20016232\", :name=>\"Luis Iberico\"}\n\t{:id=>\"Q235137\", :name=>\"Keiko Fujimori\"}\n\t{:id=>\"Q5894848\", :name=>\"Heriberto Benítez\"}\n\t{:id=>\"Q2919712\", :name=>\"Víctor Crisólogo\"}\n\t{:id=>\"Q6165488\", :name=>\"Javier Diez Canseco\"}\n21:52:10 Merging with sources/morph/genderbalance.csv\n21:52:10 Merging with sources/morph/twitter.csv\n\t* 8 of 118 unmatched\n\t{:id=>\"602962505\", :name=>\"Wilder Ruiz Loayza\"}\n\t{:id=>\"286967608\", :name=>\"Walter Acha\"}\n\t{:id=>\"1430828804\", :name=>\"Rosa Mavila\"}\n\t{:id=>\"1436400703\", :name=>\"Manuel Dammert\"}\n\t{:id=>\"242807989\", :name=>\"Jaime Delgado\"}\n\t{:id=>\"581028389\", :name=>\"Vitocho\"}\n\t{:id=>\"304765693\", :name=>\"Wilder Ruiz Loayza\"}\n\t{:id=>\"4441804276\", :name=>\"Elias Rodriguez\"}\n21:52:10 Generating legacy_id file\n21:52:10 Verifying sources/merged.csv\n21:52:10 Converting to Popolo\n21:52:10 Creating termfiles\n *** latest term ended on 2016-07-26 *** \n21:52:10 Creating names.csv\n------------------------------------------------------------------------\nPersons matched to Wikidata: 89 ✓ | 38 ✘\n  No wikidata: Claudia Faustina Coari Mamani (836647ff-f490-441d-8297-8326eaecf6ef)\n  No wikidata: Norman David Lewis Del Alcázar (6d362074-ba17-402f-b226-ab95fbe27331)\n  No wikidata: Angel Neyra Olaychea (0c6805d8-236c-4148-9eef-b27ed32b5dcc)\n  No wikidata: Elsa Celia Anicama Ñáñez (a37aacce-93be-42c2-b312-f4f9d5dab14d)\n  No wikidata: Aurelia Tan De Inafuko (00888c24-db26-43c3-a5a7-59385f06972d)\n  No wikidata: Teófilo Gamarra Saldívar (ac8102d9-24a5-40b1-9228-b00543b38c32)\n  No wikidata: Julio César Gagó Pérez (3e9bc298-637d-45a1-a958-d607a8d9acfe)\n  No wikidata: Leonidas Huayama Neira (ac5d9d1d-4a17-434a-bad6-302fdc6e7075)\n  No wikidata: María del Pilar Cordero Jon Tay (5c19090e-e420-47ad-bf4c-e1c911532011)\n  No wikidata: Eulogio Amado Romero Rodríguez (36a3b0fb-0d10-4d81-9669-fe019dc99a8c)\nAreas matched to Wikidata: 0 ✓ | 25 ✘\nParties matched to Wikidata: 10 ✓ \nTerms matched to Wikidata: 0 ✓ | 1 ✘\n  ☢  morph/official.csv has not been updated for 597 days\n  ☢  wikidata/elections.json has not been updated for 437 days\n  ☢  morph/twitter.csv has not been updated for 170 days\n[peru-congreso-1541973037 e3ce393] Peru: Refresh from upstream changes\n 4 files changed, 24 insertions(+), 10 deletions(-)\nremote: \nremote: Create a pull request for 'peru-congreso-1541973037' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/peru-congreso-1541973037        \nremote: \n\n```","created_at":"2018-11-11T21:53:41Z","updated_at":"2018-11-11T21:53:41Z","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/120323/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/120323/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/120323/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/e3ce393bf9a2ffc047cefeffb819ccd47b6689a1","head":{"label":"everypolitician:peru-congreso-1541973037","ref":"peru-congreso-1541973037","sha":"e3ce393bf9a2ffc047cefeffb819ccd47b6689a1","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","private":false,"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},"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-11-09T17:19:39Z","pushed_at":"2018-11-11T21:52:30Z","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":2156285,"stargazers_count":116,"watchers_count":116,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":631,"license":null,"forks":23,"open_issues":631,"watchers":116,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"63486ace23bca22bd853d952cba42fe05b276885","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","private":false,"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},"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-11-09T17:19:39Z","pushed_at":"2018-11-11T21:52:30Z","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":2156285,"stargazers_count":116,"watchers_count":116,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":631,"license":null,"forks":23,"open_issues":631,"watchers":116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/120323"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/120323"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/120323"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/120323/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/120323/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/120323/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/e3ce393bf9a2ffc047cefeffb819ccd47b6689a1"}},"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":24,"deletions":10,"changed_files":4}}
{"actor":{"display_login":"everypoliticianbot"}}