{"action":"opened","number":82052,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/82052","id":171142978,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/82052","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/82052.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/82052.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/82052","number":82052,"state":"open","locked":false,"title":"Sweden (Riksdag): 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 Sweden - Riksdag\n\n#### Output\n\n```\nSwitched to a new branch 'sweden-riksdag-1519429441'\nAdd memberships from sources/morph/official-api.csv\n012481285121 -> 24831d3b-33ec-462b-81c2-5e7fc51f4e1c\n0228027853620 -> 9dcb0fe3-9027-4d80-ab3e-1494e79d4521\n0747488001814 -> a4a8c7fa-6084-4669-8cc7-5c2cf757d43d\n0767167947420 -> 9475a6e3-9c21-40f1-8cbc-44aebf80e41f\nMerging with sources/morph/wikidata.csv\nData Mismatches\n  ☁ Mismatch in birth_date for 0efbd607-e126-412c-aaf0-8094417b2cef (1975) vs 1976 (for Q37013194)\n  ☁ Mismatch in death_date for d109ca95-2c33-415b-ada9-cacad48391b5 (2017-02-14) vs 2017-02-15 (for Q4958997)\n  ☁ Mismatch in death_date for 64803548-61a8-4500-beea-7fa633312994 (1989-05-06) vs 1989-05-05 (for Q4962758)\n  ☁ Mismatch in death_date for 09ba6c0d-25b3-430c-8b42-f084cebd8789 (2005-10-03) vs 2005-10-04 (for Q5820955)\n  ☁ Mismatch in death_date for 23c07bbc-ad79-4976-b617-19da6d263664 (2016-09-13) vs 2016-09-11 (for Q6053983)\n  ☁ Mismatch in death_date for 77235ed6-7acc-4158-9d9f-706f51ad55aa (2017-05-03) vs 2017-05-10 (for Q6079130)\n  ☁ Mismatch in death_date for 9a614415-3320-4fea-857d-36d27576a00f (2000-04-13) vs 2000-04-12 (for Q707581)\n* 47 of 1579 unmatched\n\t{:id=>\"Q18177071\", :name=>\"Åsa Regnér\"}\n\t{:id=>\"Q3209237\", :name=>\"Peter Norman\"}\n\t{:id=>\"Q4971163\", :name=>\"Karin Olsson\"}\n\t{:id=>\"Q6029071\", :name=>\"Jens Orback\"}\n\t{:id=>\"Q3562306\", :name=>\"Anna-Karin Hatt\"}\n\t{:id=>\"Q6236436\", :name=>\"Staffan Werme\"}\n\t{:id=>\"Q5819783\", :name=>\"Lars Härneman\"}\n\t{:id=>\"Q1606431\", :name=>\"Henry Allard\"}\n\t{:id=>\"Q441608\", :name=>\"Anna Hedh\"}\n\t{:id=>\"Q6241556\", :name=>\"Gabriel Wikström\"}\nMerging with sources/morph/genderbalance.csv\nMerging with sources/morph/twitter.csv\nData Mismatches\n* 4 of 294 unmatched\n\t{:id=>\"2315230584\"}\n\t{:id=>\"608202622\"}\n\t{:id=>\"2490524403\"}\n\t{:id=>\"2371881938\"}\n\nTop identifiers:\n  1641 x riksdagen\n  1532 x wikidata\n  274 x viaf\n  250 x selibr\n  184 x freebase\n\nCreating names.csv\n  ☇ No dates for Per Westerberg (Q1375199) as Minister for Enterprise\n  ☇ No dates for Ulf Kristersson (Q1780398) as Minister for Health and Social Affairs\n  ☇ No dates for Anders Borg (Q182050) as Minister for Finance\n  ☇ No dates for Per Unckel (Q1830351) as Minister for Education and Science\n  ☇ No dates for Nyamko Sabuni (Q241851) as Minister for Gender Equality Affairs\n  ☇ No dates for Nyamko Sabuni (Q241851) as Minister for Integration\n  ☇ No dates for Maud Olofsson (Q253640) as Deputy Prime Minister of Sweden\n  ☇ No dates for Carin Jämtin (Q2938797) as Minister for International Development Cooperation\n  ☇ No dates for Carin Jämtin (Q2938797) as Minister for Foreign Affairs of Sweden\n  ☇ No dates for Catharina Elmsäter-Svärd (Q2941786) as Minister for Defence\n  ☇ No dates for Beatrice Ask (Q297850) as Minister for Justice\n  ☇ No dates for Marita Ulvskog (Q3115681) as Minister for Culture\n  ☇ No dates for Marita Ulvskog (Q3115681) as Deputy Prime Minister of Sweden\n  ☇ No dates for Thomas Bodström (Q3141607) as Minister for Justice\n  ☇ No dates for Pär Nuder (Q320842) as Minister for Culture\n  ☇ No dates for Ylva Johansson (Q3369258) as Minister for Health and Social Affairs\n  ☇ No dates for Birgitta Ohlsson (Q429001) as Minister for EU Affairs\n  ☇ No dates for Birgitta Dahl (Q4356302) as Minister for the Environment\n  ☇ No dates for Cristina Husmark Pehrsson (Q445997) as Minister for Health and Social Affairs\n  ☇ No dates for Maria Larsson (Q447542) as Minister for Health and Social Affairs\n  ☇ No dates for Birgit Friggebo (Q4916267) as Minister for Culture\n  ☇ No dates for Andreas Carlgren (Q496604) as Minister for the Environment\n  ☇ No dates for Lena Ek (Q535342) as Minister for the Environment\n  ☇ No dates for Mats Odell (Q571725) as Minister for Financial Markets\n  ☇ No dates for Bengt Göransson (Q5780291) as Minister for Culture\n  ☇ No dates for Mikael Odenberg (Q719015) as Minister for Defence\n  ☇ No dates for Bengt Westerberg (Q817241) as Minister for Health and Social Affairs\n  ☇ No dates for Bengt Westerberg (Q817241) as Minister for Gender Equality Affairs\n  ☇ No dates for Björn von Sydow (Q879773) as Minister for Defence\n  ☇ No dates for Göran Hägglund (Q918261) as Minister for Health and Social Affairs\n  ☇ No dates for Lars Leijonborg (Q946818) as Minister for Culture\nPersons matched to Wikidata: 1532 ✓ | 109 ✘\n  No wikidata: Margareta Wallin-Johansson (19f69d0e-6c46-4915-bc71-7ffed86d43b3)\n  No wikidata: Eva Thede (97b36ee0-f46d-4faf-a000-116d74675483)\n  No wikidata: Gunnel Söderberg (f25509e8-610b-4577-a103-c0a243bcd683)\n  No wikidata: Eva Öhbom Ekdahl (824ae5ed-e255-49d4-8eba-eb591f93e431)\n  No wikidata: Eva-Lena Gustavsson (eaef92e1-6d22-4604-9148-08dc12c141df)\n  No wikidata: Barbro Glansén (895bde80-6259-4d2f-97f0-3d3e2203fd43)\n  No wikidata: Christina Andersson (0d7f3490-4d13-452e-bda6-6c0f5c6f2332)\n  No wikidata: Cecilia Jensfelt (3749c025-3896-431d-8cc4-f7e99bd2ebee)\n  No wikidata: Christopher Ödmann (7b427e18-21de-4dfb-8caa-d884558efb06)\n  No wikidata: Nils Häggström (6f1fa4b3-4c34-48ae-80d9-822186680244)\nParties matched to Wikidata: 9 ✓ | 1 ✘\n  No wikidata: Independent (IND)\nAreas matched to Wikidata: 0 ✓ | 29 ✘\n[sweden-riksdag-1519429441 2bff795] Sweden: Refresh from upstream changes\n 15 files changed, 721 insertions(+), 154 deletions(-)\n\n```","created_at":"2018-02-23T23:47:30Z","updated_at":"2018-02-23T23:47:30Z","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/82052/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/82052/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/82052/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/2bff7955a36f9c40f476df584815ef96895fb24a","head":{"label":"everypolitician:sweden-riksdag-1519429441","ref":"sweden-riksdag-1519429441","sha":"2bff7955a36f9c40f476df584815ef96895fb24a","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-02-23T23:47:27Z","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":1679369,"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":566,"license":null,"forks":16,"open_issues":566,"watchers":98,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"e01fdad67c98d0c8f35ca9aafda746621d040825","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-02-23T23:47:27Z","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":1679369,"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":566,"license":null,"forks":16,"open_issues":566,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/82052"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/82052"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/82052"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/82052/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/82052/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/82052/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/2bff7955a36f9c40f476df584815ef96895fb24a"}},"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":721,"deletions":154,"changed_files":15}}
{"actor":{"display_login":"everypoliticianbot"}}