{"action":"opened","number":27828,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/27828","id":110173841,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/27828","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/27828.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/27828.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/27828","number":27828,"state":"open","locked":false,"title":"Sweden (Riksdag): refresh all sources","user":{"login":"everypoliticianbot","id":12693984,"avatar_url":"https://avatars0.githubusercontent.com/u/12693984?v=3","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 all sources for Sweden - Riksdag\n\n#### Output\n\n```\nSwitched to a new branch 'sweden-riksdag-1489166857'\nAdd memberships from sources/morph/data.csv\n0397073482210 -> 4a887040-f30a-4301-843e-b92385a14448\n0962410717322 -> bf69b145-524c-4c64-999b-2c754883adda\nMerging with sources/morph/wikidata.csv\nData Mismatches\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 23c07bbc-ad79-4976-b617-19da6d263664 (2016-09-13) vs 2016-09-11 (for Q6053983)\n* 8 of 1255 unmatched\n\t{:id=>\"Q6240649\", :name=>\"Jon Peter Wieselgren\"}\n\t{:id=>\"Q4969593\", :name=>\"Christin Nilsson\"}\n\t{:id=>\"Q28792533\", :name=>\"Patrik Engström\"}\n\t{:id=>\"Q4971163\", :name=>\"Karin Olsson\"}\n\t{:id=>\"Q6193316\", :name=>\"Håkan Strömberg\"}\n\t{:id=>\"Q5854875\", :name=>\"Lars Engqvist\"}\n\t{:id=>\"Q4934552\", :name=>\"Rigmor Ahlstedt\"}\n\t{:id=>\"Q4969913\", :name=>\"Elise Norberg\"}\nMerging with sources/morph/twitter.csv\nData Mismatches\n* 7 of 294 unmatched\n\t{:id=>\"2371881938\"}\n\t{:id=>\"2315230584\"}\n\t{:id=>\"608202622\"}\n\t{:id=>\"2297877809\"}\n\t{:id=>\"18772213\"}\n\t{:id=>\"2479331902\"}\n\t{:id=>\"2490524403\"}\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 956; 0 added\n\n\nTop identifiers:\n  1627 x riksdagen\n  1247 x wikidata\n  222 x viaf\n  166 x freebase\n  55 x isni\n\nCreating names.csv\nPersons matched to Wikidata: 1247 ✓ | 380 ✘\n  No wikidata: Lolo Lindström (e16a8882-621c-4bbd-9926-a40dcd2423e7)\n  No wikidata: Patrik Engström (cfdee6ce-66fa-4bcc-bbb0-0a34506c1a1b)\n  No wikidata: Bengt Niska (a2584185-57c3-4149-baf8-92d23dcfe141)\n  No wikidata: Melker Strand (a75919e7-36b3-4a5f-b31c-9f064853d80b)\n  No wikidata: Inger Gustafsson (85f09ed9-53fd-43cf-a765-ee57785af593)\n  No wikidata: Kjell A Mattsson (736b7d09-87f8-42b1-a90e-b361946940cb)\n  No wikidata: Jan Strömdahl (aa673830-f463-4322-a23d-f97cb0d8996b)\n  No wikidata: Arne Svensson (65dd93c5-c1aa-4493-8906-2812da196601)\n  No wikidata: Hanna Broberg (e41dda8c-98ef-4324-9884-2af27155e62f)\n  No wikidata: Kersti Johansson (b2c1ff8b-06c9-4016-9744-bf0b3b3cdb69)\nParties matched to Wikidata: 9 ✓ | 1 ✘\n  No wikidata: Independent (IND)\nAreas matched to Wikidata: 0 ✓ | 29 ✘\n[sweden-riksdag-1489166857 8183d29] Sweden: Refresh from upstream changes\n 8 files changed, 1545 insertions(+), 1289 deletions(-)\n\n```","created_at":"2017-03-10T17:31:37Z","updated_at":"2017-03-10T17:31:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/27828/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/27828/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/27828/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/8183d29fcb04cb0391e8d3f12a0adec0957d9132","head":{"label":"everypolitician:sweden-riksdag-1489166857","ref":"sweden-riksdag-1489166857","sha":"8183d29fcb04cb0391e8d3f12a0adec0957d9132","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars1.githubusercontent.com/u/12497298?v=3","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://avatars1.githubusercontent.com/u/12497298?v=3","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":"2017-03-03T23:08:12Z","pushed_at":"2017-03-10T17:30:33Z","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":1414546,"stargazers_count":70,"watchers_count":70,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":545,"forks":10,"open_issues":545,"watchers":70,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"13b9924c3aa862ba251ee5168c8a1f6253aaddd1","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars1.githubusercontent.com/u/12497298?v=3","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://avatars1.githubusercontent.com/u/12497298?v=3","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":"2017-03-03T23:08:12Z","pushed_at":"2017-03-10T17:30:33Z","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":1414546,"stargazers_count":70,"watchers_count":70,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":545,"forks":10,"open_issues":545,"watchers":70,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/27828"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/27828"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/27828"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/27828/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/27828/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/27828/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/8183d29fcb04cb0391e8d3f12a0adec0957d9132"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1545,"deletions":1289,"changed_files":8}}
{"actor":{"display_login":"everypoliticianbot"}}