payload: {"action":"created","issue":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/162229","repository_url":"https://api.github.com/repos/everypolitician/everypolitician-data","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/162229/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/162229/comments","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/162229/events","html_url":"https://github.com/everypolitician/everypolitician-data/pull/162229","id":455011908,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg3MzQ3MDk2","number":162229,"title":"Switzerland (National Council): 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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-06-12T04:57:44Z","updated_at":"2019-06-13T04:02:18Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/162229","html_url":"https://github.com/everypolitician/everypolitician-data/pull/162229","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/162229.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/162229.patch"},"body":"Automated refresh of wikidata for Switzerland - National Council\n\n#### Output\n\n```\nSwitched to a new branch 'switzerland-national-council-1560315211'\n04:55:05 Validating CSVs\n04:55:07 Refetching sources/morph/wikidata.csv\n04:55:11 Refetching sources/wikidata/elections.json\n04:55:14 Adding memberships from sources/morph/official.csv\n\t⚠ Missing group UUID mapping\n\t⚠ Missing area UUID mapping\n04:55:14 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)\n04:55:20 Merging with sources/morph/genderbalance.csv\n04:55:20 Merging with sources/morph/twitter.csv\n\t* 3 of 76 unmatched\n\t{:id=>\"804958800\", :name=>\"Filippo Lombardi\"}\n\t{:id=>\"261721467\", :name=>\"Politik News\"}\n\t{:id=>\"214032204\", :name=>\"Alain Berset\"}\n04:55:20 Generating legacy_id file\n04:55:21 Verifying sources/merged.csv\n04:55:22 Converting to Popolo\n04:55:23 Adding term information\n04:55:23 Adding election information\n\tShort date for election Q17381804 (1863 Swiss federal election)\n\tShort date for election Q17493607 (1887 Swiss federal election)\n\tShort date for election Q17561240 (1905 Swiss federal election)\n\tShort date for election Q17591875 (1851 Swiss federal election)\n\tShort date for election Q17591877 (1854 Swiss federal election)\n\tShort date for election Q17591879 (1866 Swiss federal election)\n\tShort date for election Q17591880 (1869 Swiss federal election)\n\tShort date for election Q17591881 (1872 Swiss federal election)\n\tShort date for election Q17591882 (1875 Swiss federal election)\n\tShort date for election Q17591884 (1878 Swiss federal election)\n\tShort date for election Q17591885 (1881 Swiss federal election)\n\tShort date for election Q17591886 (1884 Swiss federal election)\n\tShort date for election Q17591888 (1890 Swiss federal election)\n\tShort date for election Q17591889 (1893 Swiss federal election)\n\tShort date for election Q17591893 (1899 Swiss federal election)\n04:55:23 Creating termfiles\n04:55:24 Creating names.csv\n04:55:24 Creating unstable/positions.csv\n\t⚠ using old-style local cabinet position list\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 (State Councillor) — e.g. Q116906\n  ⁕ skipped 5 x Q678661 (Federal Department of Environment, Transport, Energy and Communications) — e.g. Q115442\n------------------------------------------------------------------------\n⚠ No wikidata cabinet item\nPersons matched to Wikidata: 872 ✓ | 366 ✘\n  No wikidata: Pierre Teuscher (15de8c49-59fa-4c47-aa3c-980609783ca4)\n  No wikidata: Remo Gysin (93a73cdc-5460-433b-9433-8727abc13428)\n  No wikidata: Ernst Herzog (186225df-90a2-4620-9ea3-f7ed39a20710)\n  No wikidata: Remigius Bärlocher (116efda7-73f2-4222-b6ee-eacd57086980)\n  No wikidata: Josef Nigg (9e49ceb0-4d58-43a4-9e8c-f4d566555803)\n  No wikidata: Gottlieb Geissbühler (fc6fc3a1-9b6d-439f-a4aa-6b44b4d384d6)\n  No wikidata: Jean Savary (fefd6400-c448-495d-b81b-ecf8d7926d9e)\n  No wikidata: Rudolf Welter (5fc74a4b-8043-4456-81d1-e50460ac552b)\n  No wikidata: Paul Gehler (5728f012-f5d9-42df-ac53-019bda18c877)\n  No wikidata: Traugott Hungerbühler (30f836c5-433b-407c-85dc-fed5e41040ec)\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 1291 days\n  ☢  morph/cabinet.csv has not been updated for 133 days\n  ☢  morph/twitter.csv has not been updated for 610 days\n[switzerland-national-council-1560315211 b7fc1b0] Switzerland: Refresh from upstream changes\n 8 files changed, 1770 insertions(+), 1649 deletions(-)\nremote: \nremote: Create a pull request for 'switzerland-national-council-1560315211' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/switzerland-national-council-1560315211        \nremote: \n\n```"},"comment":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/comments/501539938","html_url":"https://github.com/everypolitician/everypolitician-data/pull/162229#issuecomment-501539938","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/162229","id":501539938,"node_id":"MDEyOklzc3VlQ29tbWVudDUwMTUzOTkzOA==","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},"created_at":"2019-06-13T04:02:18Z","updated_at":"2019-06-13T04:02:18Z","author_association":"MEMBER","body":"This Pull Request has been superseded by #162499"}}
other: {"actor":{"display_login":"everypoliticianbot"}}