{"action":"opened","number":124979,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/124979","id":238166176,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4MTY2MTc2","html_url":"https://github.com/everypolitician/everypolitician-data/pull/124979","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/124979.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/124979.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/124979","number":124979,"state":"open","locked":false,"title":"Sweden (Riksdag): 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 Sweden - Riksdag\n\n#### Output\n\n```\nSwitched to a new branch 'sweden-riksdag-1544644902'\n20:03:51 Validating CSVs\n20:03:56 Refetching sources/morph/wikidata.csv\n20:03:59 Refetching sources/wikidata/groups.json\n20:04:02 Refetching sources/wikidata/elections.json\n20:04:05 Add memberships from sources/morph/official-api.csv\n20:04:06 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* 47 of 1653 unmatched\n\t{:id=>\"Q59387749\", :name=>\"Jonas Andersson\"}\n\t{:id=>\"Q5650283\", :name=>\"Hans Karlsson\"}\n\t{:id=>\"Q441551\", :name=>\"Anna Maria Corazza Bildt\"}\n\t{:id=>\"Q3209237\", :name=>\"Peter Norman\"}\n\t{:id=>\"Q59418273\", :name=>\"Maria Nilsson\"}\n\t{:id=>\"Q3116223\", :name=>\"Göran Färm\"}\n\t{:id=>\"Q6029071\", :name=>\"Jens Orback\"}\n\t{:id=>\"Q6236436\", :name=>\"Staffan Werme\"}\n\t{:id=>\"Q291648\", :name=>\"Laila Freivalds\"}\n\t{:id=>\"Q18176335\", :name=>\"Aida Hadzialic\"}\n20:04:18 Merging with sources/morph/genderbalance.csv\n20:04:18 Merging with sources/morph/twitter.csv\n\t* 4 of 294 unmatched\n\t{:id=>\"2371881938\"}\n\t{:id=>\"2490524403\"}\n\t{:id=>\"608202622\"}\n\t{:id=>\"2315230584\"}\n20:04:18 Generating legacy_id file\n20:04:20 Verifying sources/merged.csv\n20:04:20 Converting to Popolo\n20:04:25 Creating termfiles\n20:04:37 Creating names.csv\n20:04:37 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: Jon Thorbjörnson (e65b0511-4c5d-4273-b9fd-fe587b37a471)\n  No wikidata: Lars Thomsson (7a52d748-94be-4263-ad80-5b3c09d03b23)\n  No wikidata: Hans-Eric Andersson (78486793-51cd-4248-9ad2-7b27cfa8e35c)\n  No wikidata: Åsa Karlsson (dcb8246e-c81a-4f18-913b-3f62fe1167b3)\n  No wikidata: Thommy Ohlsson (c4dc0d5e-c88e-467a-911b-afda0c33b3cc)\n  No wikidata: Olle Larsson (5ced699b-55f3-47c6-aa42-c2baa612bf6b)\n  No wikidata: Gustav Schyllert (4b72c999-3d01-443a-b216-48c722f08ab9)\n  No wikidata: Montaser Eneim (2d9a8869-c735-4c10-8065-23afd166a6a9)\n  No wikidata: Mona Nyberg (01d3b4c5-3700-4cbe-9c7a-e1e23740c7fa)\n  No wikidata: Karin Nilsson (dc9329dc-40c1-478f-a258-46af1e479fdf)\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 201 days\n[sweden-riksdag-1544644902 d0ff69f] Sweden: Refresh from upstream changes\n 3 files changed, 156 insertions(+), 48 deletions(-)\nremote: \nremote: Create a pull request for 'sweden-riksdag-1544644902' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/sweden-riksdag-1544644902        \nremote: \n\n```","created_at":"2018-12-12T20:07:12Z","updated_at":"2018-12-12T20:07:12Z","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/124979/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/124979/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/124979/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/d0ff69f0add124e7bc79930db490e92f84665f86","head":{"label":"everypolitician:sweden-riksdag-1544644902","ref":"sweden-riksdag-1544644902","sha":"d0ff69f0add124e7bc79930db490e92f84665f86","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-12T17:04:50Z","pushed_at":"2018-12-12T20:07:09Z","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":2227296,"stargazers_count":123,"watchers_count":123,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":630,"license":null,"forks":24,"open_issues":630,"watchers":123,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"46f112b8b3f895ea0ff817d699e040f5d03f1c1b","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-12T17:04:50Z","pushed_at":"2018-12-12T20:07:09Z","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":2227296,"stargazers_count":123,"watchers_count":123,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":630,"license":null,"forks":24,"open_issues":630,"watchers":123,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/124979"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/124979"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/124979"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/124979/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/124979/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/124979/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/d0ff69f0add124e7bc79930db490e92f84665f86"}},"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":156,"deletions":48,"changed_files":3}}
{"actor":{"display_login":"everypoliticianbot"}}