{"action":"opened","number":15618,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/15618","id":81270342,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/15618","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/15618.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/15618.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/15618","number":15618,"state":"open","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```\n⤈ No ORDER BY for sources/morph/data.csv\n⤈ No ORDER BY for sources/morph/terms.csv\nWikidata renamings:\n\tQ23042185\nAdd memberships from sources/morph/data.csv\nMerging with sources/morph/wikidata.csv\n* 8 of 1240 unmatched\n\t{:id=>\"Q4969593\", :name=>\"Christin Nilsson\"}\n\t{:id=>\"Q4971163\", :name=>\"Karin Olsson\"}\n\t{:id=>\"Q6193316\", :name=>\"Håkan Strömberg\"}\n\t{:id=>\"Q4934552\", :name=>\"Rigmor Ahlstedt\"}\n\t{:id=>\"Q4969998\", :name=>\"Gunilla Nordgren\"}\n\t{:id=>\"Q6240649\", :name=>\"Jon Peter Wieselgren\"}\n\t{:id=>\"Q5854875\", :name=>\"Lars Engqvist\"}\n\t{:id=>\"Q4969913\", :name=>\"Elise Norberg\"}\nMerging with sources/morph/twitter.csv\n* 7 of 289 unmatched\n\t{:id=>\"608202622\"}\n\t{:id=>\"2490524403\"}\n\t{:id=>\"2371881938\"}\n\t{:id=>\"2479331902\"}\n\t{:id=>\"2297877809\"}\n\t{:id=>\"2315230584\"}\n\t{:id=>\"18772213\"}\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 937; 0 added\n\nCreating 12 term files\n\nTop identifiers:\n  1619 x riksdagen\n  1232 x wikidata\n  221 x viaf\n  148 x freebase\n  51 x isni\n\nCreating names.csv\nCreating unstable/positions.csv\n  ☇ No dates for Andreas Carlgren (Q496604) as Minister for the Environment\n  ☇ No dates for Beatrice Ask (Q297850) as Minister for Justice\n  ☇ No dates for Bengt Westerberg (Q817241) as Minister for Health and Social Affairs\n  ☇ No dates for Bengt Westerberg (Q817241) as Minister for Gender Equality Affairs\n  ☇ No dates for Birgit Friggebo (Q4916267) as Minister for Culture\n  ☇ No dates for Birgitta Dahl (Q4356302) as Minister for the Environment\n  ☇ No dates for Birgitta Ohlsson (Q429001) as Minister for EU Affairs\n  ☇ No dates for Björn von Sydow (Q879773) as Minister for Defence\n  ☇ No dates for Carin Jämtin (Q2938797) as Minister for International Development Cooperation\n  ☇ No dates for Carin Jämtin (Q2938797) as Minister for Foreign Affairs of Sweden\n  ☇ No dates for Catharina Elmsäter-Svärd (Q2941786) as Minister for Defence\n  ☇ No dates for Cristina Husmark Pehrsson (Q445997) as Minister for Health and Social Affairs\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  ☇ No dates for Lena Ek (Q535342) as Minister for the Environment\n  ☇ No dates for Maria Larsson (Q447542) as Minister for Health and Social Affairs\n  ☇ No dates for Marita Ulvskog (Q3115681) as Minister for Culture\n  ☇ No dates for Marita Ulvskog (Q3115681) as Deputy Prime Minister of Sweden\n  ☇ No dates for Mats Odell (Q571725) as Minister for Financial Markets\n  ☇ No dates for Maud Olofsson (Q253640) as Deputy Prime Minister of Sweden\n  ☇ No dates for Mikael Odenberg (Q719015) as Minister for Defence\n  ☇ No dates for Nyamko Sabuni (Q241851) as Minister for Gender Equality Affairs\n  ☇ No dates for Nyamko Sabuni (Q241851) as Minister for Integration\n  ☇ No dates for Per Unckel (Q1830351) as Minister for Education and Science\n  ☇ No dates for Per Westerberg (Q1375199) as Minister for Enterprise\n  ☇ No dates for Pär Nuder (Q320842) as Minister for Culture\n  ☇ No dates for Thomas Bodström (Q3141607) as Minister for Justice\n  ☇ No dates for Ulf Kristersson (Q1780398) as Minister for Health and Social Affairs\n  ☇ No dates for Ylva Johansson (Q3369258) as Minister for Health and Social Affairs\n  Unknown position (x1): Q121998 ambassador — e.g. Q4969533\n  Unknown position (x1): Q140686 chairperson — e.g. Q2740012\n  Unknown position (x1): Q484876 chief executive officer — e.g. Q5983177\n  Unknown position (x1): Q3154693 city council — e.g. Q911372\n  Unknown position (x3): Q776570 Ministry for Foreign Affairs of Sweden — e.g. Q445997\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): Q10676649 Q10676649 — e.g. Q2029325\n  Unknown position (x1): Q14325783 Q14325783 — e.g. Q518776\n  Unknown position (x1): Q24040605 Q24040605 — e.g. Q3041165\n  Unknown position (x2): Q24040621 Q24040621 — e.g. Q911372\nPersons matched to Wikidata: 1232 ✓ | 387 ✘\n  No wikidata: Monica Tedestam Berglöw (634d91ad-18e3-466c-b7b4-2828d06819c0)\n  No wikidata: Claes Rensfeldt (845efd4e-9361-49b0-b047-0c1f9ff6c64f)\n  No wikidata: Lars Bergstig (1b079ff2-eb35-4b25-a0b7-851d9c39469b)\n  No wikidata: Bengt Ahlquist (411d2da1-aac6-4498-8435-d01c510df2f2)\n  No wikidata: Nils Åsling (9a136dc6-fb8d-4b86-b926-b98da6ae2c2e)\n  No wikidata: Nils Häggström (6f1fa4b3-4c34-48ae-80d9-822186680244)\n  No wikidata: Aina Westin (9000daf7-de25-4157-b22d-0a0003a84960)\n  No wikidata: Gunvor Norberg (8ffd3b5c-cc61-4a08-abea-8af8e119395f)\n  No wikidata: Ethel Duvskog (8367dfdb-71b4-4ad5-9df7-d7bdb6933632)\n  No wikidata: Anita Stenberg (d3c19ea5-9f43-4466-b97a-313f7eacedbd)\nParties matched to Wikidata: 9 ✓ | 1 ✘\n  No wikidata: Independent (-)\n\n```","created_at":"2016-08-15T04:54:57Z","updated_at":"2016-08-15T04:54:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"889a3706c479dd278da1d2eaebd6c5fa84995a3f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/15618/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/15618/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/15618/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/cc04337488690ec48774699d28028e04585ec668","head":{"label":"everypolitician:sweden-riksdag-1471236489","ref":"sweden-riksdag-1471236489","sha":"cc04337488690ec48774699d28028e04585ec668","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-08-08T15:16:14Z","pushed_at":"2016-08-15T04:54:57Z","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":1216566,"stargazers_count":32,"watchers_count":32,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":338,"forks":7,"open_issues":338,"watchers":32,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"502531e21fef8c32cc52b914a199be2785ed4e2c","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-08-08T15:16:14Z","pushed_at":"2016-08-15T04:54:57Z","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":1216566,"stargazers_count":32,"watchers_count":32,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":338,"forks":7,"open_issues":338,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/15618"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/15618"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/15618"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/15618/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/15618/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/15618/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/cc04337488690ec48774699d28028e04585ec668"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":26,"deletions":8,"changed_files":6}}
{"actor":{"display_login":"everypoliticianbot"}}