{"action":"closed","number":119738,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/119738","id":229602792,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NjAyNzky","html_url":"https://github.com/everypolitician/everypolitician-data/pull/119738","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/119738.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/119738.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/119738","number":119738,"state":"closed","locked":false,"title":"Switzerland (National Council): refresh official","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 official for Switzerland - National Council\n\n#### Output\n\n```\nSwitched to a new branch 'switzerland-national-council-1541745478'\n06:40:06 Validating CSVs\n06:40:13 Refetching sources/morph/official.csv\n⤈ No ORDER BY for sources/morph/official.csv\n06:40:14 Add memberships from sources/morph/official.csv\n4227 -> 818e9265-2de9-45be-9d6b-5f16ceee730c\n06:40:15 Merging with sources/morph/wikidata.csv\n  ☁ Mismatch in birth_date for 2aa3706e-9c1e-4dca-b8f1-38621e88dc37 (1941-06-05) vs 1941-05-05 (for Q1133326)\n  ☁ Mismatch in birth_date for c83e8943-dee3-49dc-81c3-cb117d85cd6a (1957-05-27) vs 1957-05-26 (for Q119103)\n  ☁ Mismatch in birth_date for 1fde25c7-cb2c-4ec2-9310-456ddffe68d2 (1944-09-21) vs 1944-01-28 (for Q15436384)\n  ☁ Mismatch in birth_date for f785d0b8-3698-4894-8872-7ca9308f7ad9 (1963-07-20) vs 1963-07-02 (for Q15852245)\n  ☁ Mismatch in birth_date for e5817ed4-f520-4353-a388-1d6f143456d1 (1917-10-22) vs 1917-10-20 (for Q1664210)\n  ☁ Mismatch in birth_date for fed53685-1347-46f6-9dd3-ccc4e08f8635 (1910-03-29) vs 1910-03-28 (for Q2806513)\n  ☁ Mismatch in birth_date for 5b7255aa-a4a7-4a6b-8400-3ad542ade0dc (1946-07-06) vs 1948-07-06 (for Q3081214)\n  ☁ Mismatch in birth_date for 419404ef-7f59-4675-abf4-681b2f9cf08d (1935-03-06) vs 1935-03-05 (for Q5442353)\n  ☁ Mismatch in birth_date for b3f83524-6794-4cf6-9b47-c31613f43d3d (1928-04-25) vs 1928-04-04 (for Q684900)\n\t* 756 of 1620 unmatched\n\t{:id=>\"Q1692415\", :name=>\"Anton Tillier\"}\n\t{:id=>\"Q15621698\", :name=>\"Martin Vogler\"}\n\t{:id=>\"Q1254495\", :name=>\"Gustav Muheim\"}\n\t{:id=>\"Q2019898\", :name=>\"Oliv Jeker\"}\n\t{:id=>\"Q1335932\", :name=>\"Emil Bösch\"}\n\t{:id=>\"Q120964\", :name=>\"Hans Hess\"}\n\t{:id=>\"Q15621604\", :name=>\"Werner Allgöwer\"}\n\t{:id=>\"Q1557395\", :name=>\"Hans Ulrich Schlaepfer\"}\n\t{:id=>\"Q3052277\", :name=>\"Emile Savoy\"}\n\t{:id=>\"Q1357292\", :name=>\"Ernst Aebersold\"}\n06:40:32 Merging with sources/morph/genderbalance.csv\n06:40:32 Merging with sources/morph/twitter.csv\n\t* 3 of 76 unmatched\n\t{:id=>\"804958800\", :name=>\"Filippo Lombardi\"}\n\t{:id=>\"214032204\", :name=>\"Alain Berset\"}\n\t{:id=>\"261721467\", :name=>\"Politik News\"}\n06:40:32 Generating legacy_id file\n06:40:34 Verifying sources/merged.csv\n06:40:34 Converting to Popolo\n06:40:38 Creating termfiles\n06:40:43 Creating names.csv\n06:40:43 Creating unstable/positions.csv\n  ☇ No dates for Otto Stich (Q115538) as Member of the Swiss Federal Council\n  ☇ No dates for Arnold Koller (Q115559) as Member of the Swiss Federal Council\n  ☇ No dates for René Felber (Q115611) as Member of the Swiss Federal Council\n  ☇ No dates for Nello Celio (Q118196) as Member of the Swiss Federal Council\n  ☇ No dates for Flavio Cotti (Q118199) as Member of the Swiss Federal Council\n  ☇ No dates for Georges-André Chevallaz (Q118201) as Member of the Swiss Federal Council\n  ☇ No dates for Max Weber (Q367391) as Member of the Swiss Federal Council\n  † position filter contains non-cabinet positions (3) — run rake generate:cabinet\n  ⁕ skipped 67 x Q18510613 (Member of the Swiss Council of States) — e.g. Q1039793\n  ⁕ skipped 9 x Q51459394 () — e.g. Q116906\n  ⁕ skipped 4 x Q687179 (Gemeinderat of Bern) — e.g. Q121335\n------------------------------------------------------------------------\nPersons matched to Wikidata: 864 ✓ | 371 ✘\n  No wikidata: Ulrich Ammann (03a0eeff-441e-44c1-a99a-9a2e9edbb80a)\n  No wikidata: Theodor Gut (d283b856-4906-4ed1-9c6e-3e77543b3c08)\n  No wikidata: Albert Krummenacher (46c13502-18fa-4487-83ce-ae422fdedd6c)\n  No wikidata: Alfred Affolter (ea90c08b-001f-4f26-82aa-730c9432348d)\n  No wikidata: Ernst Jaggi (497e921d-68b6-4295-9510-6a58997ead2e)\n  No wikidata: Monique Paccolat (1235c4bb-0f73-45f5-b23e-980446684cac)\n  No wikidata: Geo Camponovo (54652a93-dee7-483c-923a-773c24822d6e)\n  No wikidata: Rolf Mauch (d27b4ce9-47f7-4cf4-8d8c-fe49097d376d)\n  No wikidata: Alfred Gasser (275bb2e6-5e87-4001-ae7a-08bee422db00)\n  No wikidata: Gertrude Girard (8e12e152-2b4b-417a-8372-d2140e8adfd7)\nAreas matched to Wikidata: 0 ✓ | 26 ✘\nParties matched to Wikidata: 0 ✓ | 20 ✘\nTerms matched to Wikidata: 0 ✓ | 14 ✘\n  ☢  morph/terms.csv has not been updated for 1076 days\n  ☢  morph/twitter.csv has not been updated for 395 days\n[switzerland-national-council-1541745478 7b21694] Switzerland: Refresh from upstream changes\n 7 files changed, 41 insertions(+), 6 deletions(-)\nremote: \nremote: Create a pull request for 'switzerland-national-council-1541745478' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/switzerland-national-council-1541745478        \nremote: \n\n```","created_at":"2018-11-09T06:45:52Z","updated_at":"2018-11-09T19:12:39Z","closed_at":"2018-11-09T19:12:39Z","merged_at":null,"merge_commit_sha":"aacad5ea7fbf1c8114f7265a6618a85a95970202","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/119738/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/119738/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/119738/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/7b2169467a4dbff138c01626f80c0d93364fb021","head":{"label":"everypolitician:switzerland-national-council-1541745478","ref":"switzerland-national-council-1541745478","sha":"7b2169467a4dbff138c01626f80c0d93364fb021","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-09T17:19:39Z","pushed_at":"2018-11-09T19:12:32Z","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":2153609,"stargazers_count":116,"watchers_count":116,"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":620,"license":null,"forks":23,"open_issues":620,"watchers":116,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"44586d572abb452ad3e02d06ee18d0d55379ab7b","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-09T17:19:39Z","pushed_at":"2018-11-09T19:12:32Z","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":2153609,"stargazers_count":116,"watchers_count":116,"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":620,"license":null,"forks":23,"open_issues":620,"watchers":116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/119738"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/119738"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/119738"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/119738/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/119738/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/119738/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/7b2169467a4dbff138c01626f80c0d93364fb021"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":41,"deletions":6,"changed_files":7}}
{"actor":{"display_login":"everypoliticianbot"}}