{"action":"opened","number":80655,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/80655","id":169672246,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/80655","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/80655.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/80655.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/80655","number":80655,"state":"open","locked":false,"title":"Denmark (Folketing): refresh official","user":{"login":"everypoliticianbot","id":12693984,"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 official for Denmark - Folketing\n\n#### Output\n\n```\nSwitched to a new branch 'denmark-folketing-1518799360'\nAdd memberships from sources/archive/official-vanished.csv\nAdd memberships from sources/morph/official.csv\nclauslarsen-jensen -> 8d8efba5-4214-4154-aea1-98586f909aac\nmads%20fuglede -> 83cc128c-e30b-41fb-b722-696c99be3ed8\nrvmalo -> ab1669b1-4dc9-460d-a0ae-55a3d1050c2a\nsfcava -> 7238ee51-bea9-4c28-a6d6-2f7cf2eb0301\nsmala -> 3c4836b7-4e20-45e5-9d18-849c9ad3bafa\nvmabr -> 98e11dce-1ed8-4b1d-afbb-8dae0c9af350\nAdd memberships from sources/morph/wikipedia-historic.csv\nMerging with sources/morph/wikidata.csv\nData Mismatches\n* 27 of 595 unmatched\n\t{:id=>\"Q21065118\", :name=>\"Annika Smith\"}\n\t{:id=>\"Q12324871\", :name=>\"Lone Yalçınkaya\"}\n\t{:id=>\"Q4701777\", :name=>\"Aksel Larsen\"}\n\t{:id=>\"Q12325612\", :name=>\"Mads Fuglede\"}\n\t{:id=>\"Q12326187\", :name=>\"Marlene Borst Hansen\"}\n\t{:id=>\"Q12301843\", :name=>\"Anne Marie Geisler Andersen\"}\n\t{:id=>\"Q47786633\", :name=>\"Harald Kjøller\"}\n\t{:id=>\"Q556712\", :name=>\"Aksel V. Johannesen\"}\n\t{:id=>\"Q12316317\", :name=>\"Henrik Bo Fomsgaard Rasmussen\"}\n\t{:id=>\"Q12331626\", :name=>\"Peter Laigaard\"}\nMerging with sources/morph/genderbalance.csv\nData Mismatches\n* 4 of 254 unmatched\n\t{}\nDiscarding duplicate membership: {:person_id=>\"e1c5d35c-6dfb-4af3-bcff-510de5da7b8f\", :organization_id=>\"4cacca66-8d6f-47f2-a5c4-eaf74fa80999\", :role=>\"member\", :on_behalf_of_id=>\"A726CCAA-9968-4DCE-A6CD-972D6BFA0934\", :area_id=>\"area/funen\", :sources=>[{:url=>\"http://www.thedanishparliament.dk/Members/nikolaj%20amstrup.aspx\"}], :legislative_period_id=>\"term/2015\"}\nDiscarding duplicate membership: {:person_id=>\"7d09e6d5-ff51-467d-bbf0-4e9d48f0f65b\", :organization_id=>\"4cacca66-8d6f-47f2-a5c4-eaf74fa80999\", :role=>\"member\", :on_behalf_of_id=>\"F9E65D32-6F2F-4762-A7D5-56DCD0FC9BAF\", :area_id=>\"area/north_jutland\", :sources=>[{:url=>\"http://www.thedanishparliament.dk/Members/spehu.aspx\"}], :legislative_period_id=>\"term/2015\"}\nno English name for Q12311835\nParty E126D66A-4A42-4A86-A96B-764D1D368A1C not in Popolo\n\nTop identifiers:\n  568 x wikidata\n  139 x freebase\n  127 x viaf\n  61 x lcauth\n  46 x isni\n\nCreating names.csv\n  ☇ No dates for Knud Enggaard (Q11126408) as Finance Minister of Denmark\n  ☇ No dates for Esben Lunde Larsen (Q12310565) as Education and Research Minister\n  ☇ No dates for Henning Dyremose (Q12316220) as Finance Minister of Denmark\n  ☇ No dates for Henrik Sass Larsen (Q12316446) as Danish Minister for Commerce\n  ☇ No dates for Magnus Heunicke (Q12325727) as Danish Minister of Transport\n  ☇ No dates for Svend Auken (Q1424299) as Minister for the Environment\n  ☇ No dates for Connie Hedegaard (Q237797) as Minister for the Environment\n  ☇ No dates for Connie Hedegaard (Q237797) as Minister for Climate and Energy\n  ☇ No dates for Margrethe Vestager (Q270820) as Minister of Education\n  ☇ No dates for Pia Gjellerup (Q273942) as Finance Minister of Denmark\n  ☇ No dates for Claus Hjort Frederiksen (Q2978598) as Danish Minister for Labour\n  ☇ No dates for Lene Espersen (Q299352) as Deputy Prime Minister of Denmark\n  ☇ No dates for Søren Pind (Q3078007) as Education and Research Minister\n  ☇ No dates for Peter Brixtofte (Q3321283) as Tax Minister of Denmark\n  ☇ No dates for Erik Ninn-Hansen (Q3375922) as Finance Minister of Denmark\n  ☇ No dates for Ida Auken (Q441594) as Minister for the Environment\n  ☇ No dates for Karen Hækkerup (Q512386) as Minister for Food, Agriculture and Fisheries\n  ☇ No dates for Karen Hækkerup (Q512386) as Minister of Social Affairs\n  ☇ No dates for Carsten Hansen (Q531748) as Minister for Nordic Co-operation\n  ☇ No dates for Bendt Bendtsen (Q816805) as Minister of Economic and Business Affairs\n  ☇ No dates for Lars Barfoed (Q917179) as Minister of Economic and Business Affairs\nPersons matched to Wikidata: 568 ✓ | 56 ✘\n  No wikidata: Claus Larsen-Jensen (8d8efba5-4214-4154-aea1-98586f909aac)\n  No wikidata: Klaus Kjær (6124f02a-6751-4261-9158-82dc2cf5be34)\n  No wikidata: Helen Jørgensen (57143434-c785-4da0-a56b-991a43ba0afa)\n  No wikidata: Ernst B. Schmidt (895b9386-7e0d-475b-aa82-229ab97d79f9)\n  No wikidata: Malte Larsen (3c4836b7-4e20-45e5-9d18-849c9ad3bafa)\n  No wikidata: Hugo Sørensen (35c88fd9-d989-4cdd-b616-dd1793b98053)\n  No wikidata: Harald Kjøller (d01202f7-8abe-4b45-93be-a05fdcc7e1b2)\n  No wikidata: Bjarne Rømer Westh (6850a1a5-6aee-420b-a1d9-855bce5f65c3)\n  No wikidata: Anne Mette Winther Christiansen (56225ea5-e971-4be5-9a52-fbc5a47410b7)\n  No wikidata: Mette Dencker (b7c12053-ba55-488c-abe0-7764dd737711)\nParties matched to Wikidata: 37 ✓ | 2 ✘\n  No wikidata: unknown (B)\n  No wikidata: Outside the parliamentary groups (1C1343ED-BA71-463F-A912-A6A07FCA9EF8)\nAreas matched to Wikidata: 0 ✓ | 14 ✘\n[denmark-folketing-1518799360 0ab8847] Denmark: Refresh from upstream changes\n 8 files changed, 221 insertions(+), 18 deletions(-)\n\n```","created_at":"2018-02-16T16:46:02Z","updated_at":"2018-02-16T16:46:02Z","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/80655/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/80655/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/80655/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/0ab884782f9e75d2f6832b85c6d71d296bbe7f4a","head":{"label":"everypolitician:denmark-folketing-1518799360","ref":"denmark-folketing-1518799360","sha":"0ab884782f9e75d2f6832b85c6d71d296bbe7f4a","user":{"login":"everypolitician","id":12497298,"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,"name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"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},"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":"2018-02-11T21:53:03Z","pushed_at":"2018-02-16T16:46:01Z","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":1655924,"stargazers_count":97,"watchers_count":97,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":655,"license":null,"forks":16,"open_issues":655,"watchers":97,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"91f10261582f4fb9447a8ff2c34daa30701b3a8c","user":{"login":"everypolitician","id":12497298,"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,"name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"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},"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":"2018-02-11T21:53:03Z","pushed_at":"2018-02-16T16:46:01Z","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":1655924,"stargazers_count":97,"watchers_count":97,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":655,"license":null,"forks":16,"open_issues":655,"watchers":97,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/80655"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/80655"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/80655"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/80655/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/80655/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/80655/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/0ab884782f9e75d2f6832b85c6d71d296bbe7f4a"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":221,"deletions":18,"changed_files":8}}
{"actor":{"display_login":"everypoliticianbot"}}