{"action":"opened","number":23083,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/23083","id":99298022,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/23083","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/23083.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/23083.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/23083","number":23083,"state":"open","locked":false,"title":"Peru (Congress): 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 Peru - Congress\n\n#### Output\n\n```\n⤈ No ORDER BY for sources/morph/twitter.csv\nAdd memberships from sources/morph/data.csv\nMerging with sources/morph/wikidata.csv\nData Mismatches\n* 5 of 92 unmatched\n\t{:id=>\"Q16606863\", :name=>\"Michael Urtecho Medina\"}\n\t{:id=>\"Q2919712\", :name=>\"Víctor Crisólogo\"}\n\t{:id=>\"Q20016232\", :name=>\"Luis Iberico\"}\n\t{:id=>\"Q5894848\", :name=>\"Heriberto Benítez\"}\n\t{:id=>\"Q6165488\", :name=>\"Javier Diez Canseco\"}\nMerging with sources/morph/twitter.csv\nData Mismatches\n* 8 of 118 unmatched\n\t{:id=>\"1436400703\", :name=>\"Manuel Dammert\"}\n\t{:id=>\"4441804276\", :name=>\"Elias Rodriguez\"}\n\t{:id=>\"286967608\", :name=>\"Walter Acha\"}\n\t{:id=>\"242807989\", :name=>\"Jaime Delgado\"}\n\t{:id=>\"581028389\", :name=>\"Vitocho\"}\n\t{:id=>\"602962505\", :name=>\"Wilder Ruiz Loayza\"}\n\t{:id=>\"304765693\", :name=>\"Wilder Ruiz Loayza\"}\n\t{:id=>\"1430828804\", :name=>\"Rosa Mavila\"}\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 0; 0 added\n\n\nTop identifiers:\n  87 x wikidata\n  13 x freebase\n  7 x viaf\n  4 x lcauth\n  2 x sudoc\n\nCreating names.csv\nCreating unstable/positions.csv\n  Unknown position (x1): Q6017491 Ministry of Housing, Construction and Sanitation — e.g. Q5041863\n  Unknown position (x1): Q5567532 Q5567532 — e.g. Q25911940\n  Unknown position (x1): Q14761450 Member of Congress — e.g. Q470923\nPersons matched to Wikidata: 87 ✓ | 40 ✘\n  No wikidata: Casio Faustino Huaire Chuquichaico (18211ee8-5cef-4187-ae81-24d2a09d7cde)\n  No wikidata: Norman David Lewis Del Alcázar (6d362074-ba17-402f-b226-ab95fbe27331)\n  No wikidata: Néstor Antonio Valqui Matos (6f8fb4ef-986e-401b-b269-a6adc197de88)\n  No wikidata: Martín Rivas Texeira (429fc2ca-c641-4b79-9b2d-7662e14045f6)\n  No wikidata: Josue Manuel Gutiérrez Cóndor (b8c2fe93-a8e7-4953-8cb5-85eea962b031)\n  No wikidata: Julio César Gagó Pérez (3e9bc298-637d-45a1-a958-d607a8d9acfe)\n  No wikidata: Eduardo Felipe Cabrera Ganoza (2a7b8e9e-bf26-40e7-afd2-a5053cf11ab1)\n  No wikidata: Rubén Condori Cusi (1b02ad62-bde4-4e8d-94aa-2e3d14a8e7eb)\n  No wikidata: Aurelia Tan De Inafuko (00888c24-db26-43c3-a5a7-59385f06972d)\n  No wikidata: Rosa Delsa Mavila León (f7440021-ab9a-4291-8d73-a76310fb2789)\nParties matched to Wikidata: 10 ✓ \n\n```","created_at":"2016-12-24T07:54:39Z","updated_at":"2016-12-24T07:54:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/23083/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/23083/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/23083/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/ef10d580d083b2f7828c3385d6d711856b64d9f8","head":{"label":"everypolitician:peru-congreso-1482564852","ref":"peru-congreso-1482564852","sha":"ef10d580d083b2f7828c3385d6d711856b64d9f8","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":"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":"2016-12-13T15:18:55Z","pushed_at":"2016-12-24T07:53:41Z","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":1363601,"stargazers_count":38,"watchers_count":38,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":385,"forks":8,"open_issues":385,"watchers":38,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"7de15daddf7769cdfe1e00b221d46afb2805b587","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":"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":"2016-12-13T15:18:55Z","pushed_at":"2016-12-24T07:53:41Z","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":1363601,"stargazers_count":38,"watchers_count":38,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":385,"forks":8,"open_issues":385,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/23083"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/23083"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/23083"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/23083/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/23083/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/23083/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/ef10d580d083b2f7828c3385d6d711856b64d9f8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":26,"deletions":15,"changed_files":7}}
{"actor":{"display_login":"everypoliticianbot"}}