{"action":"closed","number":21597,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/21597","id":96474071,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/21597","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/21597.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/21597.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/21597","number":21597,"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=>\"Q1464137\", :name=>\"Pierre-Alain Gentil\"}\n\t{:id=>\"Q115630\", :name=>\"Peter Bieri\"}\n\t{:id=>\"Q501321\", :name=>\"Andreas Zeller\"}\n\t{:id=>\"Q120902\", :name=>\"Konrad Graber\"}\n\t{:id=>\"Q1310215\", :name=>\"Josef Dittli\"}\n\t{:id=>\"Q119404\", :name=>\"Roland Eberle\"}\n\t{:id=>\"Q120693\", :name=>\"Jean Studer\"}\n\t{:id=>\"Q374396\", :name=>\"This Jenny\"}\n\t{:id=>\"Q118343\", :name=>\"Raphaël Comte\"}\n\t{:id=>\"Q21061273\", :name=>\"Beat Rieder\"}\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  277 x viaf\n  129 x gnd\n  99 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\n  Unknown position (x3): Q687179 Gemeinderat of Bern — e.g. Q74144\nPersons matched to Wikidata: 549 ✓ | 667 ✘\n  No wikidata: Peter Schmid (e6ac9272-fc6c-4e8c-b382-d9e43d2ee9bb)\n  No wikidata: Albert Mossdorf (eff91190-4ab4-4615-8fea-4ea813d9f9c5)\n  No wikidata: Hans Zbinden (89ced2f5-1432-4cdd-b282-81e5e9e769c0)\n  No wikidata: Hans Weber (4e3aa71d-4b25-4165-a8ff-5fbd5795289b)\n  No wikidata: Karl Weber (0804bcf7-4f38-43ea-88c2-182ca284ab9c)\n  No wikidata: Josef Tschopp (cc1bb75a-7ad0-4dfb-8d7c-6ec4c9ef097a)\n  No wikidata: Ernst Haller (73ee3ee8-4f3d-4112-bbb7-8ae896aa039b)\n  No wikidata: Gilles Petitpierre (d7988477-84d2-4db2-8177-b7f8f3d8ed5a)\n  No wikidata: Hans Korner (0cbbf08e-df93-427a-a585-442d62647283)\n  No wikidata: Menga Danuser (3514bbbc-5156-43ac-a596-b6db95381a69)\nParties matched to Wikidata: 0 ✓ | 20 ✘\n\n```","created_at":"2016-12-05T06:08:44Z","updated_at":"2016-12-07T03:02:28Z","closed_at":"2016-12-07T03:02:28Z","merged_at":null,"merge_commit_sha":"9a5397135aab11f9752d53bc767d4b147dff24f1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/21597/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/21597/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/21597/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/1e9365a958ff9ac9687329c1e794a0fdf754eb6e","head":{"label":"everypolitician:switzerland-national-council-1480917031","ref":"switzerland-national-council-1480917031","sha":"1e9365a958ff9ac9687329c1e794a0fdf754eb6e","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-11-02T15:44:58Z","pushed_at":"2016-12-07T03:01:26Z","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":1416402,"stargazers_count":36,"watchers_count":36,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":437,"forks":8,"open_issues":437,"watchers":36,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"59ec2741efa36b02d9d3e962d1baac6ffe9c33c2","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-11-02T15:44:58Z","pushed_at":"2016-12-07T03:01:26Z","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":1416402,"stargazers_count":36,"watchers_count":36,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":437,"forks":8,"open_issues":437,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/21597"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/21597"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/21597"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/21597/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/21597/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/21597/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/1e9365a958ff9ac9687329c1e794a0fdf754eb6e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":2,"additions":54,"deletions":14,"changed_files":3}}
{"actor":{"display_login":"everypoliticianbot"}}