{"action":"closed","number":7322,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/7322","id":65197546,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/7322","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/7322.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/7322.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/7322","number":7322,"state":"closed","locked":false,"title":"Poland (Sejm): 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 Poland - Sejm\n\n#### Output\n\n```\nAdd memberships from sources/morph/members.csv\nMerging with sources/morph/wikidata.csv\n  Match incoming name to name\n* 7 of 2177 unmatched\n\t{:id=>\"Q3359361\", :name=>\"Krzysztof Rutkowski\"}\n\t{:id=>\"Q22114812\", :name=>\"Alicja Kaczorowska\"}\n\t{:id=>\"Q22350993\", :name=>\"Katarzyna Czochara\"}\n\t{:id=>\"Q22350997\", :name=>\"Waldemar Olejniczak\"}\n\t{:id=>\"Q21809450\", :name=>\"Krzysztof Paszyk\"}\n\t{:id=>\"Q9342596\", :name=>\"Stanisław Misztal\"}\n\t{:id=>\"Q6320672\", :name=>\"Józef Stępkowski\"}\n\nData Mismatches\n  ☁ Mismatch in wikipedia__pl for f1f1abd8-a3a2-4323-a838-b9a9ced62d79 (Wojciech Włodarczyk) vs Wojciech Włodarczyk (polityk) (for Q9376992)\n\n⚥ 6\nCreating term-1.csv\nCreating term-8.csv\nCreating term-3.csv\nCreating term-4.csv\nCreating term-5.csv\nCreating term-2.csv\nCreating term-6.csv\nCreating term-7.csv\nTop identifiers:\n  2170 x wikidata\n  419 x viaf\n  401 x freebase\n  152 x isni\n  126 x lcauth\n\nCreating names.csv\nCreating unstable/positions.csv\n  Unknown position (x1): Q121998 ambassador — e.g. Q9165470\n  Unknown position (x1): Q17375334 Archbishop of Kraków — e.g. Q9152767\n  Unknown position (x1): Q128960 Bishop of Kujawy — e.g. Q9152767\n  Unknown position (x1): Q178909 Chancellery of the President of the Republic of Poland — e.g. Q734755\n  Unknown position (x1): Q2070965 Kanclerz — e.g. Q9152767\n  Unknown position (x5): Q6627774 List of mayors of Warsaw — e.g. Q271902\n  Unknown position (x1): Q30185 mayor — e.g. Q2757\n  Unknown position (x1): Q486839 member of parliament — e.g. Q143520\n  Unknown position (x2): Q21328636 Member of the Sejm of the Republic of Poland — e.g. Q597698\n  Unknown position (x2): Q4380777 Ministry of Agriculture and Rural Development — e.g. Q360362\n  Unknown position (x1): Q4294766 Ministry of Labour and Social Policy — e.g. Q1687987\n  Unknown position (x1): Q4294477 Ministry of National Education — e.g. Q55937\n  Unknown position (x1): Q4294646 Ministry of Regional Development — e.g. Q261112\n  Unknown position (x1): Q4657217 municipal executive — e.g. Q143520\n  Unknown position (x1): Q2560876 National Security Bureau — e.g. Q734755\n  Unknown position (x1): Q1339181 Palikot's Movement — e.g. Q158298\n  Unknown position (x1): Q16185991 Q16185991 — e.g. Q7385409\n  Unknown position (x1): Q1837227 Q1837227 — e.g. Q9152767\n  Unknown position (x1): Q7374818 Royal Secretary — e.g. Q9152767\n  Unknown position (x1): Q736559 Secretary of State — e.g. Q143520\n  Unknown position (x4): Q98964 Sejm of the Republic of Poland — e.g. Q1683061\n  Unknown position (x1): Q15686806 senator — e.g. Q11718343\n  Unknown position (x1): Q7925004 Vice-Chancellor of the Crown — e.g. Q9152767\n  Unknown position (x1): Q1558362 Voivodeship marshal — e.g. Q9139694\n  Unknown position (x1): Q15052137 Your Movement — e.g. Q158298\nWikidata Persons matched: 2170 ✓ | 8 ✘\n  Missing: Józef Stępkowski\n  Missing: Alicja Kaczorowska\n  Missing: Stanisław Misztal\n  Missing: Wojciech Włodarczyk\n  Missing: Waldemar Olejniczak\n  Missing: Bartłomiej Stawiarski\n  Missing: Katarzyna Czochara\n  Missing: Krzysztof Rutkowski\nWikidata Parties matched: 1 ✓ | 62 ✘\n\n```","created_at":"2016-04-04T19:15:39Z","updated_at":"2016-04-05T09:25:03Z","closed_at":"2016-04-05T09:25:03Z","merged_at":null,"merge_commit_sha":"785b85c367cd125dc303fba8bd6fc46455f7d39a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/7322/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/7322/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/7322/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/fa1d3fb4ffcb55867c4d4abaf52eae54949d4b6c","head":{"label":"everypolitician:poland-sejm-1459797042","ref":"poland-sejm-1459797042","sha":"fa1d3fb4ffcb55867c4d4abaf52eae54949d4b6c","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":"","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-04-01T05:48:22Z","pushed_at":"2016-04-05T09:24:40Z","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":664412,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":297,"forks":4,"open_issues":297,"watchers":21,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"d6cc3bc3e5c3f142384d195ff0ae4b25c946f304","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":"","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-04-01T05:48:22Z","pushed_at":"2016-04-05T09:24:40Z","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":664412,"stargazers_count":21,"watchers_count":21,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":297,"forks":4,"open_issues":297,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/7322"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/7322"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/7322"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/7322/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/7322/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/7322/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/fa1d3fb4ffcb55867c4d4abaf52eae54949d4b6c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":2,"additions":24391,"deletions":11460,"changed_files":18}}