{"action":"closed","number":128375,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/128375","id":241226989,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxMjI2OTg5","html_url":"https://github.com/everypolitician/everypolitician-data/pull/128375","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/128375.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/128375.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/128375","number":128375,"state":"closed","locked":false,"title":"Chile (National 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 Chile - National Congress\n\n#### Output\n\n```\nSwitched to a new branch 'chile-deputies-1545946096'\n21:30:15 Validating CSVs\n21:30:16 Refetching sources/morph/wikidata.csv\n21:30:17 Refetching sources/wikidata/groups.json\n21:30:19 Refetching sources/wikidata/elections.json\n21:30:20 Add memberships from sources/morph/opendata-congreso.csv\n21:30:20 Merging with sources/morph/wikidata.csv\n  ☁ Mismatch in gender for 021e75bc-1974-4eed-9148-7227ff14d31a (female) vs male (for Q16601166)\n\t* 5 of 172 unmatched\n\t{:id=>\"Q58260243\", :name=>\"Carlos Smok\"}\n\t{:id=>\"Q58052850\", :name=>\"Osvaldo Vega Vera\"}\n\t{:id=>\"Q58223931\", :name=>\"Vladislav Kuzmicic\"}\n\t{:id=>\"Q58199317\", :name=>\"Hugo Álamos Vásquez\"}\n\t{:id=>\"Q58809410\", :name=>\"Baldemar Carrasco\"}\n21:30:20 Merging with sources/morph/genderbalance.csv\n21:30:20 Generating legacy_id file\n21:30:21 Verifying sources/merged.csv\n21:30:21 Converting to Popolo\n21:30:21 Creating termfiles\n *** latest term ended on 2018-03-10 *** \n21:30:22 Creating names.csv\n21:30:22 Creating unstable/positions.csv\n  † position filter contains non-cabinet positions (4) — run rake generate:cabinet\n  ⁕ skipped 1 x Q121998 (ambassador) — e.g. Q5578064\n------------------------------------------------------------------------\nPersons matched to Wikidata: 167 ✓ | 208 ✘\n  No wikidata: Daniel Melo Contreras (b798c9fa-fcad-494f-b8ed-1a4de5a53c67)\n  No wikidata: David Sandoval Plaza (e221b128-6f1d-41cd-bd3d-b578bf10b97d)\n  No wikidata: Orlando Vargas Pizarro (3f586ff5-d076-4452-9495-37c82e54e570)\n  No wikidata: Gonzalo Fuenzalida Figueroa (5a621469-23d0-4fe8-a351-adba5763f3f5)\n  No wikidata: Ernesto Silva Méndez (bf37c566-fd6c-4586-be29-6f431a999357)\n  No wikidata: Frank Sauerbaum Muñoz (d4abafe1-f37f-49d8-82a3-0a37bcd3de1b)\n  No wikidata: Ignacio Urrutia Bonilla (8c1e5665-d9a8-42d5-b558-654768f5f125)\n  No wikidata: Ramón Pérez Opazo (5567dd6e-e961-4b0f-aa4b-c98213872813)\n  No wikidata: Alberto Robles Pantoja (7ffa8d98-60f6-4a56-9c94-f4e6e097d812)\n  No wikidata: Esteban Valenzuela Van Treek (aaa51bc4-a1bb-470b-b98e-a44a26a4c018)\nAreas matched to Wikidata: 0 ✓ | 60 ✘\nParties matched to Wikidata: 15 ✓ \nTerms matched to Wikidata: 1 ✓ | 6 ✘\n  No wikidata: Legislativo 1998-2002 (term/3)\n  No wikidata: Legislativo 2006-2010 (term/5)\n  No wikidata: Legislativo 2010-2014 (term/6)\n  No wikidata: Legislativo 1994-1998 (term/2)\n  No wikidata: Legislativo 2002-2006 (term/4)\n  No wikidata: Legislativo 1990-1994 (term/1)\n  ☢  morph/opendata-congreso.csv has not been updated for 287 days\n  ☢  morph/cabinet.csv has not been updated for 627 days\n  ☢  wikidata/elections.json has not been updated for 163 days\n[chile-deputies-1545946096 5ea94ca] Chile: Refresh from upstream changes\n 13 files changed, 931 insertions(+), 5985 deletions(-)\nremote: \nremote: Create a pull request for 'chile-deputies-1545946096' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/chile-deputies-1545946096        \nremote: \n\n```","created_at":"2018-12-27T21:32:54Z","updated_at":"2018-12-28T21:34:55Z","closed_at":"2018-12-28T21:34:55Z","merged_at":null,"merge_commit_sha":"80e3fd48264b51c955dae5068de0ce7a44dded29","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/128375/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/128375/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/128375/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/5ea94ca38c262fec6712354d8ef7e909a245ab24","head":{"label":"everypolitician:chile-deputies-1545946096","ref":"chile-deputies-1545946096","sha":"5ea94ca38c262fec6712354d8ef7e909a245ab24","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-12-27T06:35:34Z","pushed_at":"2018-12-28T21:34:21Z","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":2245530,"stargazers_count":126,"watchers_count":126,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":666,"license":null,"forks":27,"open_issues":666,"watchers":126,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"e4413f4b8e414161361e24fdfadd0c7ef1a8f36c","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-12-27T06:35:34Z","pushed_at":"2018-12-28T21:34:21Z","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":2245530,"stargazers_count":126,"watchers_count":126,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":666,"license":null,"forks":27,"open_issues":666,"watchers":126,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/128375"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/128375"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/128375"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/128375/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/128375/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/128375/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/5ea94ca38c262fec6712354d8ef7e909a245ab24"}},"author_association":"MEMBER","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":931,"deletions":5985,"changed_files":13}}
{"actor":{"display_login":"everypoliticianbot"}}