{"action":"closed","number":17977,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/17977","id":87487390,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/17977","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/17977.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/17977.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/17977","number":17977,"state":"closed","locked":false,"title":"Switzerland (National Council): 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 Switzerland - National Council\n\n#### Output\n\n```\n⤈ No ORDER BY for sources/morph/data.csv\n⤈ No ORDER BY for sources/morph/terms.csv\nFIXME: 'monolingualtext' is not implemented yet in Wikisnakker::Snak#value. Defaulting to empty string. {:text=>\"syndique de Renens\", :language=>\"fr\"}\nAdd memberships from sources/morph/data.csv\nMerging with sources/morph/wikidata.csv\nData Mismatches\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 f785d0b8-3698-4894-8872-7ca9308f7ad9 (1963-07-20) vs 1963-07-02 (for Q15852245)\n  ☁ Mismatch in birth_date for b0af4b9b-5bd0-4234-b8e9-628055670e71 (1952-10-31) vs 1952-10-03 (for Q1721882)\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 029119ca-6401-4771-89f4-ea297f3ae959 (1965-10-24) vs 1956-04-05 (for Q3159663)\n* 64 of 613 unmatched\n\t{:id=>\"Q120077\", :name=>\"Thomas Minder\"}\n\t{:id=>\"Q121356\", :name=>\"Stefan Engler\"}\n\t{:id=>\"Q122873\", :name=>\"Beat Vonlanthen\"}\n\t{:id=>\"Q693281\", :name=>\"Fritz Schiesser\"}\n\t{:id=>\"Q122275\", :name=>\"Hans-Rudolf Merz\"}\n\t{:id=>\"Q116433\", :name=>\"Erika Forster-Vannini\"}\n\t{:id=>\"Q121349\", :name=>\"Martin Schmid\"}\n\t{:id=>\"Q116085\", :name=>\"Werner Luginbühl\"}\n\t{:id=>\"Q121351\", :name=>\"Joachim Eder\"}\n\t{:id=>\"Q1310215\", :name=>\"Josef Dittli\"}\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 0; 0 added\n\n\nTop identifiers:\n  1216 x parlamentdotch\n  549 x wikidata\n  251 x viaf\n  127 x gnd\n  95 x freebase\n\nCreating names.csv\nCreating unstable/positions.csv\n  Unknown position (x1): Q26218593 Q26218593 — e.g. Q1238363\n  Unknown position (x1): Q25973795 Q25973795 — e.g. Q119418\n  Unknown position (x1): Q1055894 deputy — e.g. Q3174323\n  Unknown position (x1): Q147733 City president — e.g. Q121470\n  Unknown position (x1): Q484876 chief executive officer — e.g. Q1883801\n  Unknown position (x1): Q121998 ambassador — e.g. Q1591536\n  Unknown position (x1): Q24700014 Commune president — e.g. Q3571733\nPersons matched to Wikidata: 549 ✓ | 667 ✘\n  No wikidata: Jean-Paul Gehler (f71fe689-cc53-4559-b007-f70d0792d6e6)\n  No wikidata: Hans Schmid (e185454f-3b27-44f9-99d3-1c049f455f38)\n  No wikidata: Max Bill (4b4c505a-a351-47be-aed0-bcb277a4d886)\n  No wikidata: Richard Reich (3d123143-dfcb-4420-8716-ce9dea02e6b0)\n  No wikidata: Julius Birrer (f0cdd7d4-0247-4960-bbdd-3cd8f55f141d)\n  No wikidata: Paul-René Martin (2f98cdde-a4cf-4d69-a597-8177c5f0c3a9)\n  No wikidata: Kurt Schüle (68ec8388-0f0f-4a2d-a868-7a92374f8ce8)\n  No wikidata: Walter Hagmann (5ef75b3a-11e9-485e-a9fa-ccf8cc370772)\n  No wikidata: Luigi Generali (e3446de6-dd2c-439b-923f-5fb78320140b)\n  No wikidata: Franz Landolt (d76b0492-1f11-45d6-a8e5-9dc98be4feb9)\nParties matched to Wikidata: 0 ✓ | 20 ✘\n\n```","created_at":"2016-09-30T12:46:27Z","updated_at":"2016-10-01T08:44:36Z","closed_at":"2016-10-01T08:44:36Z","merged_at":"2016-10-01T08:44:36Z","merge_commit_sha":"cd2ab1f2698235bca1c4dd0b86b03992dd84cac4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/17977/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/17977/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/17977/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/7205dc6380977565669fbe408bf048f89cc2bf1d","head":{"label":"everypolitician:switzerland-national-council-1475238561","ref":"switzerland-national-council-1475238561","sha":"7205dc6380977565669fbe408bf048f89cc2bf1d","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-26T21:32:43Z","pushed_at":"2016-10-01T08:44:36Z","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":1303713,"stargazers_count":33,"watchers_count":33,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":355,"forks":8,"open_issues":355,"watchers":33,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"59c56bbcb047b59432f0b5c08470c089db35b416","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-26T21:32:43Z","pushed_at":"2016-10-01T08:44:36Z","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":1303713,"stargazers_count":33,"watchers_count":33,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":355,"forks":8,"open_issues":355,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/17977"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/17977"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/17977"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/17977/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/17977/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/17977/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/7205dc6380977565669fbe408bf048f89cc2bf1d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":116,"deletions":27,"changed_files":3}}
{"actor":{"display_login":"tmtmtmtm"}}