{"action":"closed","number":90354,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/90354","id":183228085,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/90354","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/90354.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/90354.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/90354","number":90354,"state":"closed","locked":false,"title":"United States of America (Senate): refresh wikidata","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 wikidata for United States of America - Senate\n\n#### Output\n\n```\nSwitched to a new branch 'united-states-of-america-senate-1524323662'\n⤈ No ORDER BY for sources/morph/wikidata.csv\nAdd memberships from sources/morph/unitedstates-project.csv\nMerging with sources/morph/socialmedia.csv\nData Mismatches\n* 499 of 609 unmatched\n\t{:id=>\"L000567\"}\n\t{:id=>\"R000604\"}\n\t{:id=>\"Y000065\"}\n\t{:id=>\"P000607\"}\n\t{:id=>\"S001200\"}\n\t{:id=>\"H000636\"}\n\t{:id=>\"W000819\"}\n\t{:id=>\"G000535\"}\n\t{:id=>\"A000370\"}\n\t{:id=>\"H001038\"}\nMerging with sources/morph/wikidata.csv\nData Mismatches\n  ☁ Mismatch in identifier__cspan for 7b1f119a-8c22-4f04-b860-cd748cefd1d3 (84679) vs corybooker (for Q1135767)\n  ☁ Mismatch in identifier__ballotpedia for 7b1f119a-8c22-4f04-b860-cd748cefd1d3 (Cory Booker) vs Cory_Booker (for Q1135767)\n  ☁ Mismatch in identifier__ballotpedia for 29ddd46b-7096-4bdb-b0cb-21df78097f09 (Jerry Moran) vs Jerry_Moran (for Q1365787)\n  ☁ Mismatch in identifier__cspan for 70b18fa9-4cf1-4d10-ae2e-0f99f6cd23d4 (77429) vs benjaminsasse (for Q16192221)\n  ☁ Mismatch in identifier__fec for c026fc33-dd60-4063-aa63-6c990fe7d88e (S2TX00312) vs P60006111 (for Q2036942)\n  ☁ Mismatch in identifier__cspan for c026fc33-dd60-4063-aa63-6c990fe7d88e (1019953) vs rcruz (for Q2036942)\n  ☁ Mismatch in identifier__ballotpedia for c026fc33-dd60-4063-aa63-6c990fe7d88e (Ted Cruz) vs Ted_Cruz (for Q2036942)\n  ☁ Mismatch in identifier__ballotpedia for 27b4ce08-a79d-4dee-9b8f-a7a709e94b58 (Kirsten Gillibrand) vs Kirsten_Gillibrand (for Q22222)\n  ☁ Mismatch in identifier__fec for e6d1ede4-fe76-4b96-b912-abd27ae4dbd7 (S4MA00069) vs P80000235 (for Q22316)\n  ☁ Mismatch in identifier__ballotpedia for d2acb787-73ea-472e-9817-9c22cdfd894c (Lisa Murkowski) vs Lisa_Murkowski (for Q22360)\n  ☁ Mismatch in identifier__cspan for 2d872983-7aa9-4f67-82bc-39098aa50d4d (2470) vs barbaraboxer (for Q237560)\n  ☁ Mismatch in identifier__ballotpedia for 2d872983-7aa9-4f67-82bc-39098aa50d4d (Barbara Boxer) vs Barbara_Boxer (for Q237560)\n  ☁ Mismatch in identifier__ballotpedia for bcffa780-e0b1-4a9c-b6fc-7362e8bb6a98 (Debbie Stabenow) vs Debbie_Stabenow (for Q241092)\n  ☁ Mismatch in identifier__ballotpedia for b7924c39-ccc1-4a68-9601-81cfa2fa9db8 (Russ Feingold) vs Russ_Feingold (for Q356475)\n  ☁ Mismatch in identifier__fec for be2c04a8-a31f-4860-b8c9-de90112bdf01 (H8VT01016) vs P60007168 (for Q359442)\n  ☁ Mismatch in identifier__cspan for be2c04a8-a31f-4860-b8c9-de90112bdf01 (994) vs berniesanders (for Q359442)\n  ☁ Mismatch in identifier__ballotpedia for be2c04a8-a31f-4860-b8c9-de90112bdf01 (Bernie Sanders) vs Bernie_Sanders (for Q359442)\n  ☁ Mismatch in identifier__cspan for 2ca9f594-5208-497b-99f4-a9d94e15086a (189) vs orrinhatch (for Q381157)\n  ☁ Mismatch in identifier__ballotpedia for 2ca9f594-5208-497b-99f4-a9d94e15086a (Orrin Hatch) vs Orrin_Hatch (for Q381157)\n  ☁ Mismatch in identifier__cspan for 4b344da0-2dbc-4531-8821-fc44686a9838 (18203) vs rogerwicker (for Q390491)\n  ☁ Mismatch in identifier__ballotpedia for 4b344da0-2dbc-4531-8821-fc44686a9838 (Roger Wicker) vs Roger_Wicker (for Q390491)\n  ☁ Mismatch in identifier__ballotpedia for 6bd1b1b1-2368-4676-a192-d271a2cf8a35 (Tom Carper) vs Tom_Carper (for Q457432)\n  ☁ Mismatch in identifier__ballotpedia for 78c74815-5d54-4e9d-b962-372954131087 (John Thune) vs John_Thune (for Q462981)\n  ☁ Mismatch in identifier__ballotpedia for 840fdec6-c724-4de4-b6d9-67ed14308808 (Heidi Heitkamp) vs Heidi_Heitkamp (for Q50597)\n  ☁ Mismatch in identifier__ballotpedia for 5888412d-2ce1-496a-a485-e8bb6373ee12 (Jack Reed) vs Jack_Reed (for Q528979)\n  ☁ Mismatch in identifier__ballotpedia for 0629dcb1-352f-4028-9c36-f162cf6d98bd (Chuck Grassley) vs Chuck_Grassley (for Q529294)\n  ☁ Mismatch in identifier__cspan for 0c29758b-e52d-4538-9e18-d0a1adb23198 (1031622) vs michaelbennett (for Q554792)\n  ☁ Mismatch in identifier__ballotpedia for 0c29758b-e52d-4538-9e18-d0a1adb23198 (Michael Bennet) vs Michael_Bennet (for Q554792)\n  ☁ Mismatch in identifier__cspan for 685acbe5-736d-43b0-99f3-ece63fe22a4d (6080) vs danielcoats (for Q632321)\n  ☁ Mismatch in identifier__ballotpedia for 685acbe5-736d-43b0-99f3-ece63fe22a4d (Dan Coats) vs Dan_Coats (for Q632321)\n  ☁ Mismatch in identifier__cspan for e00ba2f5-68ad-4986-8579-a436a241ce8b (16991) vs benjaminnelson (for Q718542)\n  ☁ Mismatch in identifier__cspan for 7b56fba2-9662-475b-8630-6fe8e1faca97 (1020034) vs jameserisch (for Q721871)\n  ☁ Mismatch in identifier__ballotpedia for 7b56fba2-9662-475b-8630-6fe8e1faca97 (Jim Risch) vs Jim_Risch (for Q721871)\n  ☁ Mismatch in identifier__cspan for e66bf2a4-9889-43a1-94d2-1c9784bb9f03 (47036) vs robertbobcasey (for Q887841)\n  ☁ Mismatch in identifier__ballotpedia for e66bf2a4-9889-43a1-94d2-1c9784bb9f03 (Bob Casey, Jr.) vs Bob_Casey,_Jr. (for Q887841)\n  ☁ Mismatch in identifier__ballotpedia for d93db7bd-499d-4309-a963-0ebf27d05be4 (Tom Udall) vs Tom_Udall (for Q957690)\nMerging with sources/morph/genderbalance.csv\nAdding OCD names from sources/ocd/divisions.csv\n\nTop identifiers:\n  320 x bioguide\n  320 x google_entity_id\n  320 x govtrack\n  320 x wikidata\n  320 x wikipedia\n\nCreating names.csv\nPersons matched to Wikidata: 320 ✓ \nParties matched to Wikidata: 3 ✓ \nAreas matched to Wikidata: 50 ✓ \n[united-states-of-america-senate-1524323662 932e1ab] United States of America: Refresh from upstream changes\n 25 files changed, 18434 insertions(+), 70251 deletions(-)\n rewrite data/United_States_of_America/Senate/names.csv (73%)\n rewrite data/United_States_of_America/Senate/sources/morph/wikidata.csv (96%)\n\n```","created_at":"2018-04-21T15:25:45Z","updated_at":"2018-04-22T21:29:45Z","closed_at":"2018-04-22T21:29:45Z","merged_at":null,"merge_commit_sha":"9c1f5d1cfb03598d55ec87252e5d3caa4a782a1e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/90354/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/90354/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/90354/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/932e1ab0c628c3ddb8b7e53457ae1712fb8de797","head":{"label":"everypolitician:united-states-of-america-senate-1524323662","ref":"united-states-of-america-senate-1524323662","sha":"932e1ab0c628c3ddb8b7e53457ae1712fb8de797","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":"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-04-17T19:28:40Z","pushed_at":"2018-04-22T21:28:06Z","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":1747705,"stargazers_count":103,"watchers_count":103,"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":589,"license":null,"forks":16,"open_issues":589,"watchers":103,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"4472a5115a5a60e27c86c83ffa7feceab917e321","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":"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-04-17T19:28:40Z","pushed_at":"2018-04-22T21:28:06Z","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":1747705,"stargazers_count":103,"watchers_count":103,"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":589,"license":null,"forks":16,"open_issues":589,"watchers":103,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/90354"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/90354"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/90354"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/90354/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/90354/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/90354/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/932e1ab0c628c3ddb8b7e53457ae1712fb8de797"}},"author_association":"OWNER","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":17618,"deletions":69435,"changed_files":25}}
{"actor":{"display_login":"everypoliticianbot"}}