{"action":"opened","number":17735,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/17735","id":86773466,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/17735","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/17735.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/17735.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/17735","number":17735,"state":"open","locked":false,"title":"Canada (House of Commons): 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 Canada - House of Commons\n\n#### Output\n\n```\nAdd memberships from sources/morph/wikipedia.csv\nMerging with sources/morph/parlinfo.csv\nMerging with sources/morph/data-41.csv\nMerging with sources/morph/data-42.csv\nMerging with sources/morph/wikidata.csv\nData Mismatches\n  ☁ Mismatch in birth_date for 2db1d615-ccaa-4b6c-801d-74d35908a298 (1955-12-04) vs 1955-12-05 (for Q16187027)\n  ☁ Mismatch in birth_date for bbd2c72c-64c4-40b0-8b67-e45119436f44 (1962-03-17) vs 1963-03-17 (for Q1841200)\n  ☁ Mismatch in birth_date for 92b394f5-29b2-4b3e-ad98-9e597e5d790c (1958-10-24) vs 1959 (for Q2829856)\n  ☁ Mismatch in birth_date for 496d4ddd-e7f1-4c85-8bbc-df1d614b5f92 (1974-11-17) vs 1974-11-14 (for Q3528703)\n  ☁ Mismatch in birth_date for 2deea873-d085-484c-b87b-04751ecc1b28 (1959-09-28) vs 1959-09-23 (for Q5241099)\n  ☁ Mismatch in birth_date for cbbf1698-de8a-4ab7-ae84-731be1f26449 (1971-03-26) vs 1962 (for Q5493318)\n  ☁ Mismatch in birth_date for 1a190bd2-4f4d-4a72-b3b2-704013bcd210 (1970-08-19) vs 1971-08-19 (for Q6451430)\nMerging with sources/manual/twitter.csv\nMerging with sources/morph/politwitter.csv\nData Mismatches\n* 2 of 253 unmatched\n\t{:id=>\"RichardIHosein\", :name=>\"Richard Hosein\"}\n\t{:id=>\"JJLibertarian\", :name=>\"Jason\"}\nMerging with sources/morph/politwitfb.csv\nData Mismatches\n* 2 of 233 unmatched\n\t{:id=>\"RichardIHosein\", :name=>\"Richard Hosein\"}\n\t{:id=>\"JJLibertarian\", :name=>\"Jason\"}\nMerging with sources/morph/politwityt.csv\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 1; 0 added\n\nApplying local corrections from sources/manual/corrections.csv\n\nTop identifiers:\n  537 x wikidata\n  519 x represent\n  102 x viaf\n  93 x freebase\n  26 x pace\n\nCreating names.csv\nCreating unstable/positions.csv\n  Unknown position (x1): Q7444329 Secretary of State — e.g. Q3022854\n  Unknown position (x1): Q1018894 Bâtonnier — e.g. Q3022854\n  Unknown position (x1): Q3477319 Parliamentary Secretary — e.g. Q3022854\n  Unknown position (x1): Q30185 mayor — e.g. Q21066146\n  Unknown position (x1): Q21682605 board member of Society for Brain Mapping and Therapeutic — e.g. Q3197422\n  Unknown position (x1): Q5261098 deputy leader — e.g. Q6808691\n  Unknown position (x1): Q2937241 Cape Breton—Canso — e.g. Q3438181\n  Unknown position (x1): Q1553195 party leader — e.g. Q1892814\n  Unknown position (x1): Q83307 minister — e.g. Q1892814\nPersons matched to Wikidata: 537 ✓ \nParties matched to Wikidata: 5 ✓ \n\n```","created_at":"2016-09-26T16:17:14Z","updated_at":"2016-09-26T16:17:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95c0e480633b205e77c6c8aa9a1a7fcc491dd834","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/17735/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/17735/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/17735/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/3413b9bdb3e2aab3bd70380670b4d7345da25499","head":{"label":"everypolitician:canada-commons-1474905488","ref":"canada-commons-1474905488","sha":"3413b9bdb3e2aab3bd70380670b4d7345da25499","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-09-26T16:17:14Z","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":1291915,"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":363,"forks":8,"open_issues":363,"watchers":33,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"55b9b8db410e6cf85c356338c5f1729cb9b3c2d8","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-09-26T16:17:14Z","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":1291915,"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":363,"forks":8,"open_issues":363,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/17735"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/17735"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/17735"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/17735/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/17735/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/17735/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/3413b9bdb3e2aab3bd70380670b4d7345da25499"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":338,"deletions":70,"changed_files":5}}
{"actor":{"display_login":"everypoliticianbot"}}