{"action":"closed","number":20974,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/20974","id":94960555,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/20974","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/20974.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/20974.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/20974","number":20974,"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\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* 8 of 1246 unmatched\n\t{:id=>\"Q4934552\", :name=>\"Rigmor Ahlstedt\"}\n\t{:id=>\"Q6193316\", :name=>\"Håkan Strömberg\"}\n\t{:id=>\"Q5854875\", :name=>\"Lars Engqvist\"}\n\t{:id=>\"Q4971163\", :name=>\"Karin Olsson\"}\n\t{:id=>\"Q6240649\", :name=>\"Jon Peter Wieselgren\"}\n\t{:id=>\"Q4969913\", :name=>\"Elise Norberg\"}\n\t{:id=>\"Q4969593\", :name=>\"Christin Nilsson\"}\n\t{:id=>\"Q4969998\", :name=>\"Gunilla Nordgren\"}\nMerging with sources/morph/twitter.csv\nData Mismatches\n* 7 of 294 unmatched\n\t{:id=>\"2371881938\"}\n\t{:id=>\"18772213\"}\n\t{:id=>\"2297877809\"}\n\t{:id=>\"2490524403\"}\n\t{:id=>\"608202622\"}\n\t{:id=>\"2479331902\"}\n\t{:id=>\"2315230584\"}\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 945; 0 added\n\n\nTop identifiers:\n  1621 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 ✓ | 383 ✘\n  No wikidata: Olle Göransson (d9eb1ee1-5896-4ebd-8350-b1330793dde3)\n  No wikidata: Arne Andersson (64363198-b611-4fa1-8b16-fa6f2d38bce1)\n  No wikidata: Göran Allmér (627a5e65-1f1f-4d1d-b89f-041e3943e2be)\n  No wikidata: Gunnel Liljegren (c28ea9e8-63b8-4b1f-b229-e192e71f7286)\n  No wikidata: Maria Östberg Svanelind (cc38be1a-550a-446a-8441-8727afdbac6b)\n  No wikidata: Ing-Marie Hansson (baba81e8-75f3-4aa8-b362-360cf6b0c821)\n  No wikidata: Marianne Löfstedt (ef36ff1c-794f-41d4-8863-1f17018f5987)\n  No wikidata: Viola Claesson (859cfd62-f46c-4c8c-9b89-16ecc54336ec)\n  No wikidata: Ralf Lindström (52c75736-c289-4a1b-b292-6024d6188ca3)\n  No wikidata: Christoffer Dulny (67ca359b-a8d5-4895-b244-bcc3e3428a6c)\nParties matched to Wikidata: 9 ✓ | 1 ✘\n  No wikidata: Independent (IND)\n\n```","created_at":"2016-11-23T08:26:28Z","updated_at":"2016-11-23T12:46:43Z","closed_at":"2016-11-23T12:46:42Z","merged_at":"2016-11-23T12:46:42Z","merge_commit_sha":"c3136af4815eff989fac62b10cfc332444c9a8f1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/20974/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/20974/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/20974/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/4738cdd9f6d3e5a73dc8ff4474032198b65067ec","head":{"label":"everypolitician:sweden-riksdag-1479888390","ref":"sweden-riksdag-1479888390","sha":"4738cdd9f6d3e5a73dc8ff4474032198b65067ec","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-11-02T15:44:58Z","pushed_at":"2016-11-23T12:46:42Z","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":1385959,"stargazers_count":36,"watchers_count":36,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":353,"forks":8,"open_issues":353,"watchers":36,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"415b213be033a458c22e5d14b3509828c8833d1c","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-11-02T15:44:58Z","pushed_at":"2016-11-23T12:46:42Z","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":1385959,"stargazers_count":36,"watchers_count":36,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":353,"forks":8,"open_issues":353,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/20974"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/20974"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/20974"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/20974/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/20974/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/20974/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/4738cdd9f6d3e5a73dc8ff4474032198b65067ec"}},"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":1,"review_comments":0,"commits":2,"additions":21,"deletions":7,"changed_files":4}}
{"actor":{"display_login":"tmtmtmtm"}}