{"action":"opened","number":127786,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/127786","id":240851596,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwODUxNTk2","html_url":"https://github.com/everypolitician/everypolitician-data/pull/127786","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/127786.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/127786.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/127786","number":127786,"state":"open","locked":false,"title":"Sweden (Riksdag): refresh official","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 official for Sweden - Riksdag\n\n#### Output\n\n```\nSwitched to a new branch 'sweden-riksdag-1545727837'\n08:52:09 Validating CSVs\n08:52:14 Refetching sources/morph/official-api.csv\n08:52:17 Add memberships from sources/morph/official-api.csv\n08:52:18 Merging with sources/morph/wikidata.csv\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 birth_date for babde658-6b14-47e2-bda9-db7ec2a33a63 (1960) vs 1948-12-08 (for Q5937184)\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\t* 45 of 1651 unmatched\n\t{:id=>\"Q6029071\", :name=>\"Jens Orback\"}\n\t{:id=>\"Q441551\", :name=>\"Anna Maria Corazza Bildt\"}\n\t{:id=>\"Q547580\", :name=>\"Ann-Christin Nykvist\"}\n\t{:id=>\"Q5912705\", :name=>\"Bengt A. Klang\"}\n\t{:id=>\"Q441608\", :name=>\"Anna Hedh\"}\n\t{:id=>\"Q547534\", :name=>\"Leni Björklund\"}\n\t{:id=>\"Q58837098\", :name=>\"Jonas Andersson i Linköping\"}\n\t{:id=>\"Q5650283\", :name=>\"Hans Karlsson\"}\n\t{:id=>\"Q549955\", :name=>\"Jan Eliasson\"}\n\t{:id=>\"Q655844\", :name=>\"Christian Engström\"}\n08:52:33 Merging with sources/morph/genderbalance.csv\n08:52:33 Merging with sources/morph/twitter.csv\n\t* 4 of 294 unmatched\n\t{:id=>\"2490524403\"}\n\t{:id=>\"2315230584\"}\n\t{:id=>\"608202622\"}\n\t{:id=>\"2371881938\"}\n08:52:33 Generating legacy_id file\n08:52:35 Verifying sources/merged.csv\n08:52:35 Converting to Popolo\n08:52:41 Creating termfiles\n08:52:50 Creating names.csv\n08:52:51 Creating unstable/positions.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 Per Unckel (Q1830351) as Minister for Education and Science\n  ☇ No dates for Thage G Peterson (Q2408431) as Minister for Justice\n  ☇ No dates for Maud Olofsson (Q253640) as Deputy Prime Minister of Sweden\n  ☇ No dates for Catharina Elmsäter-Svärd (Q2941786) as Minister for Defence\n  ☇ No dates for Thomas Bodström (Q3141607) as Minister for Justice\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 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 Bengt Göransson (Q5780291) as Minister for Culture\n  ☇ No dates for Morgan Johansson (Q5887217) as Minister for Migration\n  ☇ No dates for Mikael Odenberg (Q719015) as Minister for Defence\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\n  ⁕ skipped 2 x Q83307 (minister) — e.g. Q253640\n  ⁕ skipped 1 x Q1937160 (minister without portfolio) — e.g. Q6168210\n  ⁕ skipped 1 x Q18246031 (Minister of Sweden) — e.g. Q5969715\n------------------------------------------------------------------------\nPersons matched to Wikidata: 1606 ✓ | 157 ✘\n  No wikidata: Ann-Christine From Utterstedt (8d02aaf7-4ee1-4a3b-83f6-8762f575b75a)\n  No wikidata: Marie-Louise Hänel Sandström (37281afb-c721-49fd-a4e9-44f24e6f846c)\n  No wikidata: Mikael Strandman (ece563e6-d330-4770-a612-3bf6e45cf82a)\n  No wikidata: Bertil Borglund (569f3648-568d-4efa-88f5-bc2d02227974)\n  No wikidata: Mattias Karlsson (7a52821f-dd72-4c26-9d6b-2bd362d684c7)\n  No wikidata: My Gillberg (294b0f70-f8c0-4e5f-970c-e61e4bf1503a)\n  No wikidata: Marie Wickberg (e4d3edda-faad-4c80-9f80-445096faaae7)\n  No wikidata: Sven-Olof Nordlund (7f3b93f0-be16-41e0-9030-61eaf84fc974)\n  No wikidata: Kjell-Arne Ottosson (d532d30a-bde7-4ee3-ba77-f737ab5d4d1f)\n  No wikidata: Caroline Nordengrip (bae0317d-c777-4b3b-9fb5-ea135fa60767)\nAreas matched to Wikidata: 0 ✓ | 29 ✘\nParties matched to Wikidata: 9 ✓ | 1 ✘\n  No wikidata: Independent (IND)\nTerms matched to Wikidata: 0 ✓ | 13 ✘\n  ☢  morph/twitter.csv has not been updated for 214 days\n[sweden-riksdag-1545727837 41f26de] Sweden: Refresh from upstream changes\n 5 files changed, 85 insertions(+), 14 deletions(-)\nremote: \nremote: Create a pull request for 'sweden-riksdag-1545727837' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/sweden-riksdag-1545727837        \nremote: \n\n```","created_at":"2018-12-25T08:54:20Z","updated_at":"2018-12-25T08:54:20Z","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/127786/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/127786/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/127786/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/41f26deddf6ec40f948a5849461894c0c7402844","head":{"label":"everypolitician:sweden-riksdag-1545727837","ref":"sweden-riksdag-1545727837","sha":"41f26deddf6ec40f948a5849461894c0c7402844","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-23T05:29:40Z","pushed_at":"2018-12-25T08:53:12Z","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":2241310,"stargazers_count":125,"watchers_count":125,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":663,"license":null,"forks":26,"open_issues":663,"watchers":125,"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-23T05:29:40Z","pushed_at":"2018-12-25T08:53:12Z","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":2241310,"stargazers_count":125,"watchers_count":125,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":663,"license":null,"forks":26,"open_issues":663,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/127786"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/127786"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/127786"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/127786/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/127786/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/127786/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/41f26deddf6ec40f948a5849461894c0c7402844"}},"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":85,"deletions":14,"changed_files":5}}
{"actor":{"display_login":"everypoliticianbot"}}