{"action":"closed","number":22098,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/22098","id":97446550,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/22098","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/22098.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/22098.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/22098","number":22098,"state":"closed","locked":false,"title":"Sweden (Riksdag): refresh data","user":{"login":"everypoliticianbot","id":12693984,"avatar_url":"https://avatars.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 data refresh for Sweden - Riksdag\n\n#### Output\n\n```\nWikidata renamings:\n\tQ23042185\nAdd memberships from sources/morph/data.csv\n0867950366726 -> 530f2aef-a468-43e4-b688-89cd4aeac05f\nMerging with sources/morph/wikidata.csv\nData Mismatches\n  ☁ Mismatch in death_date for 23c07bbc-ad79-4976-b617-19da6d263664 (2016-09-13) vs 2016-09-11 (for Q6053983)\n* 11 of 1249 unmatched\n\t{:id=>\"Q4969913\", :name=>\"Elise Norberg\"}\n\t{:id=>\"Q22923559\", :name=>\"Camilla Hansén\"}\n\t{:id=>\"Q4969593\", :name=>\"Christin Nilsson\"}\n\t{:id=>\"Q4971163\", :name=>\"Karin Olsson\"}\n\t{:id=>\"Q6240649\", :name=>\"Jon Peter Wieselgren\"}\n\t{:id=>\"Q4969998\", :name=>\"Gunilla Nordgren\"}\n\t{:id=>\"Q4934552\", :name=>\"Rigmor Ahlstedt\"}\n\t{:id=>\"Q5854875\", :name=>\"Lars Engqvist\"}\n\t{:id=>\"Q6043337\", :name=>\"Magnus Persson\"}\n\t{:id=>\"Q5553993\", :name=>\"Arne Andersson\"}\nMerging with sources/morph/twitter.csv\nData Mismatches\n* 7 of 294 unmatched\n\t{:id=>\"2371881938\"}\n\t{:id=>\"18772213\"}\n\t{:id=>\"608202622\"}\n\t{:id=>\"2315230584\"}\n\t{:id=>\"2479331902\"}\n\t{:id=>\"2297877809\"}\n\t{:id=>\"2490524403\"}\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 946; 0 added\n\n\nTop identifiers:\n  1622 x riksdagen\n  1238 x wikidata\n  222 x viaf\n  160 x freebase\n  51 x isni\n\nCreating names.csv\nCreating unstable/positions.csv\n  Unknown position (x1): Q121998 ambassador — e.g. Q4969533\n  Unknown position (x1): Q484876 chief executive officer — e.g. Q5983177\n  Unknown position (x1): Q3154693 city council — e.g. Q911372\n  Unknown position (x1): Q14325783 Q14325783 — e.g. Q518776\n  Unknown position (x1): Q140686 chairperson — e.g. Q2740012\n  Unknown position (x1): Q24040605 Q24040605 — e.g. Q3041165\n  Unknown position (x2): Q24040621 Q24040621 — e.g. Q911372\n  Unknown position (x2): Q4294535 Ministry of Education and Research — e.g. Q946818\n  Unknown position (x2): Q1780898 Ministry of Enterprise, Energy and Communications — e.g. Q571725\n  Unknown position (x3): Q1553195 party leader — e.g. Q439393\n  Unknown position (x3): Q776570 Ministry for Foreign Affairs of Sweden — e.g. Q445997\n  Unknown position (x3): Q10676649 Q10676649 — e.g. Q2029325\nPersons matched to Wikidata: 1238 ✓ | 384 ✘\n  No wikidata: Ingrid Sundberg (3f3ca0dc-d234-40d7-8092-4bec6ac29003)\n  No wikidata: Birgitta Rydle (9a40db89-7d2c-4a9f-a103-d09a2819246b)\n  No wikidata: Nils Häggström (6f1fa4b3-4c34-48ae-80d9-822186680244)\n  No wikidata: Kjell-Olof Feldt (3a3b7716-0529-4778-ab82-3f27baa835cb)\n  No wikidata: Eva Rydén (bfe2152f-bedd-4943-a939-ad6f0b3cc725)\n  No wikidata: Grethe Lundblad (bea562b3-3275-4a3d-8431-5d32b0089d37)\n  No wikidata: Anders Larsson (08ea5c8f-2adf-45b1-a42c-4f251cee5c15)\n  No wikidata: Marie Wickberg (e4d3edda-faad-4c80-9f80-445096faaae7)\n  No wikidata: Hannes Beckman (e9ddfedd-a751-4806-b497-3779b35e7fea)\n  No wikidata: Lennart Andersson (f44e39ba-bc8c-4dac-9378-8a0e2fcd4f22)\nParties matched to Wikidata: 9 ✓ | 1 ✘\n  No wikidata: Independent (IND)\n\n```","created_at":"2016-12-11T03:00:54Z","updated_at":"2016-12-11T07:03:09Z","closed_at":"2016-12-11T07:03:09Z","merged_at":"2016-12-11T07:03:09Z","merge_commit_sha":"c6c2b08f792d83cb03a457389ec425e1d6dd8d40","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/22098/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/22098/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/22098/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/65473620a03e089b9dd278514c311ca75167b303","head":{"label":"everypolitician:sweden-riksdag-1481423160","ref":"sweden-riksdag-1481423160","sha":"65473620a03e089b9dd278514c311ca75167b303","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.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://avatars.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":"2016-12-09T11:04:49Z","pushed_at":"2016-12-11T07:03: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":1426892,"stargazers_count":37,"watchers_count":37,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":444,"forks":8,"open_issues":444,"watchers":37,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"40aa872765699131da76bde6a5418f320e6b5b92","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.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://avatars.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":"2016-12-09T11:04:49Z","pushed_at":"2016-12-11T07:03: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":1426892,"stargazers_count":37,"watchers_count":37,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":444,"forks":8,"open_issues":444,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/22098"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/22098"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/22098"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/22098/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/22098/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/22098/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/65473620a03e089b9dd278514c311ca75167b303"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":5,"additions":188,"deletions":15,"changed_files":9}}
{"actor":{"display_login":"tmtmtmtm"}}