{"action":"opened","number":122951,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/122951","id":233840226,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzODQwMjI2","html_url":"https://github.com/everypolitician/everypolitician-data/pull/122951","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/122951.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/122951.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/122951","number":122951,"state":"open","locked":false,"title":"Denmark (Folketing): refresh wikidata","user":{"login":"everypoliticianbot","id":12693984,"node_id":"MDQ6VXNlcjEyNjkzOTg0","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 wikidata for Denmark - Folketing\n\n#### Output\n\n```\nSwitched to a new branch 'denmark-folketing-1543311426'\n09:39:10 Validating CSVs\n09:39:13 Refetching sources/morph/wikidata.csv\n09:39:15 Refetching sources/wikidata/elections.json\n09:39:19 Refetching sources/wikidata/groups.json\n09:39:22 Add memberships from sources/archive/official-vanished.csv\n09:39:22 Add memberships from sources/morph/official.csv\n09:39:22 Add memberships from sources/morph/wikipedia-historic.csv\n09:39:23 Merging with sources/morph/wikidata.csv\n\t* 271 of 845 unmatched\n\t{:id=>\"Q12320825\", :name=>\"Jørgen Lenger\"}\n\t{:id=>\"Q12311571\", :name=>\"Flemming Jensen\"}\n\t{:id=>\"Q1243657\", :name=>\"Alfred Jensen\"}\n\t{:id=>\"Q5738260\", :name=>\"Alexander Foss\"}\n\t{:id=>\"Q12322892\", :name=>\"Kristen Poulsgaard\"}\n\t{:id=>\"Q323762\", :name=>\"Kjeld Olesen\"}\n\t{:id=>\"Q6208783\", :name=>\"Christian Thomsen\"}\n\t{:id=>\"Q1703533\", :name=>\"Erling Jensen\"}\n\t{:id=>\"Q12321858\", :name=>\"Kim Nøhr Skibsted\"}\n\t{:id=>\"Q5586779\", :name=>\"Knud Bro\"}\n09:39:29 Merging with sources/morph/genderbalance.csv\n\t* 13 of 254 unmatched\n09:39:29 Generating legacy_id file\n09:39:30 Verifying sources/merged.csv\n09:39:30 Converting to Popolo\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=>\"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=>\"north_jutland\", :sources=>[{:url=>\"http://www.thedanishparliament.dk/Members/spehu.aspx\"}], :legislative_period_id=>\"term/2015\"}\nDiscarding duplicate membership: {:person_id=>\"317dc125-67da-4d11-a8ad-78ed53c353fc\", :organization_id=>\"4cacca66-8d6f-47f2-a5c4-eaf74fa80999\", :role=>\"member\", :on_behalf_of_id=>\"F9E65D32-6F2F-4762-A7D5-56DCD0FC9BAF\", :area_id=>\"east_jutland\", :sources=>[{:url=>\"http://www.thedanishparliament.dk/Members/smala.aspx\"}], :legislative_period_id=>\"term/2015\"}\n09:39:32 Creating termfiles\n09:39:33 Creating names.csv\n09:39:33 Creating unstable/positions.csv\n  ☇ No dates for Knud Enggaard (Q11126408) as Finance Minister of Denmark\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 Pia Gjellerup (Q273942) as Finance 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 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\n  † position filter contains non-cabinet positions (4) — run rake generate:cabinet\n  ⁕ skipped 9 x Q19185575 (President of the Nordic Council) — e.g. Q11126408\n  ⁕ skipped 7 x Q30185 (mayor) — e.g. Q12006694\n  ⁕ skipped 5 x Q21034786 (Prime Minister of the Faroe Islands) — e.g. Q529900\n------------------------------------------------------------------------\nPersons matched to Wikidata: 574 ✓ | 39 ✘\n  No wikidata: Per Dalgaard (8064b2b2-6200-4c6a-8278-22be7cba6f0f)\n  No wikidata: Ernst B. Schmidt (895b9386-7e0d-475b-aa82-229ab97d79f9)\n  No wikidata: Hanne Thanning Jacobsen (aa87c4b6-3dd1-4955-911a-92115fd18284)\n  No wikidata: Egil Møller (ac6883a9-56e8-4f2b-8414-8fd53ac85809)\n  No wikidata: Lise Rasmussen (7a8dee9c-cffc-4e56-8772-9074a7ae3dca)\n  No wikidata: Svend Taanquist (8f6649b6-56b3-4254-80b5-42e0ef766bb8)\n  No wikidata: Else Marie Mortensen (b619c18a-ca4e-4dfd-be00-7a1a656c982a)\n  No wikidata: Jens Løgstrup Madsen (da069f87-efed-43ec-81a8-c2220ba3f376)\n  No wikidata: Helen Jørgensen (57143434-c785-4da0-a56b-991a43ba0afa)\n  No wikidata: Bjarne Rømer Westh (6850a1a5-6aee-420b-a1d9-855bce5f65c3)\nAreas matched to Wikidata: 0 ✓ | 14 ✘\nParties matched to Wikidata: 37 ✓ | 1 ✘\n  No wikidata: Outside the parliamentary groups (1C1343ED-BA71-463F-A912-A6A07FCA9EF8)\nTerms matched to Wikidata: 6 ✓ | 2 ✘\n  No wikidata: Folketing 1994–1998 (term/1994)\n  No wikidata: Folketing 1990–1994 (term/1990)\n  ☢  morph/official.csv has not been updated for 267 days\n  ☢  morph/wikipedia-historic.csv has not been updated for 842 days\n[denmark-folketing-1543311426 835cdab] Denmark: Refresh from upstream changes\n 5 files changed, 172 insertions(+), 8 deletions(-)\nremote: \nremote: Create a pull request for 'denmark-folketing-1543311426' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/denmark-folketing-1543311426        \nremote: \n\n```","created_at":"2018-11-27T09:40:58Z","updated_at":"2018-11-27T09:40:58Z","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/122951/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/122951/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/122951/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/835cdab8d0adb534ff688645bcf940291417209c","head":{"label":"everypolitician:denmark-folketing-1543311426","ref":"denmark-folketing-1543311426","sha":"835cdab8d0adb534ff688645bcf940291417209c","user":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","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,"node_id":"MDEwOlJlcG9zaXRvcnkzNDcyNTg2MQ==","name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","private":false,"owner":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","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},"html_url":"https://github.com/everypolitician/everypolitician-data","description":"data for national legislatures worldwide","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-11-27T09:33:43Z","pushed_at":"2018-11-27T09:39:56Z","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":2219600,"stargazers_count":120,"watchers_count":120,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":542,"license":null,"forks":23,"open_issues":542,"watchers":120,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"fca22ea683f2eec7de8d5184fa2ffdf6dc81aa62","user":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","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,"node_id":"MDEwOlJlcG9zaXRvcnkzNDcyNTg2MQ==","name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","private":false,"owner":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","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},"html_url":"https://github.com/everypolitician/everypolitician-data","description":"data for national legislatures worldwide","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-11-27T09:33:43Z","pushed_at":"2018-11-27T09:39:56Z","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":2219600,"stargazers_count":120,"watchers_count":120,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":542,"license":null,"forks":23,"open_issues":542,"watchers":120,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/122951"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/122951"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/122951"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/122951/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/122951/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/122951/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/835cdab8d0adb534ff688645bcf940291417209c"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":172,"deletions":8,"changed_files":5}}
{"actor":{"display_login":"everypoliticianbot"}}