{"action":"opened","number":85795,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/85795","id":176206925,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/85795","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/85795.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/85795.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/85795","number":85795,"state":"open","locked":false,"title":"New Zealand (New Zealand Parliament): refresh wikipedia","user":{"login":"everypoliticianbot","id":12693984,"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},"body":"Automated refresh of wikipedia for New Zealand - New Zealand Parliament\n\n#### Output\n\n```\nSwitched to a new branch 'new-zealand-house-1521555380'\n⤈ No ORDER BY for sources/morph/wikipedia.csv\nAdd memberships from sources/archive/official-51.csv\nAdd memberships from sources/morph/official-52.csv\nAdd memberships from sources/morph/wikipedia.csv\n121 -> 11196143-3f41-4d54-ac9f-2631be059647\n57 -> 94402f2c-fcc5-4d77-b9f6-43c61747d7b0\n64 -> 01e2b6b0-ddda-4164-a904-2e5c58c70b84\n7 -> d292f14a-9fb0-41e2-b5d1-7e762f22507d\nact_cs -> d408cfd9-2bae-47df-a87c-18dfa3f30e09\ngreen -> 72734b7e-e809-4137-b9ed-4131b0749f20\nindependent_coalition -> 28b38375-0fe3-4aff-ab80-bcafb7ea34f8\nlabour -> de86f5a4-61a0-455b-ac56-87a11470f4c4\nmana -> 6b1f6aa0-4a1d-46f8-8db2-6c98042ae5d4\nmāori_cs -> e0f2c5bd-1fdd-49dd-a13a-1cd221af0871\nnz_first -> 1a61e94e-73c9-4646-8b17-6131d9af8676\nnational -> 60bdb458-cb2d-4ffd-9f61-09433da20327\nunited_future_cs -> 3982e753-da1a-498e-adad-eade0d3b5fb1\nMerging with sources/morph/wikidata.csv\nMerging with sources/morph/genderbalance.csv\nMerging with sources/morph/twitter.csv\nData Mismatches\n* 7 of 143 unmatched\n\t{:id=>\"923113113641275392\", :name=>\"Ron Mark MP\"}\n\t{:id=>\"904631947875336192\", :name=>\"Lawrence Yule\"}\n\t{:id=>\"928376122256977921\", :name=>\"Hamish Walker\"}\n\t{:id=>\"858143732884885504\", :name=>\"Angela Warren-Clark\"}\n\t{:id=>\"920748947764789248\", :name=>\"Ron Mark\"}\n\t{:id=>\"870447381006868480\", :name=>\"Golriz Ghahraman\"}\n\t{:id=>\"950486582255001600\", :name=>\"NZ Minister of Finance\"}\nDiscarding duplicate membership: {:person_id=>\"cbf2d6c4-9fb4-48f1-9926-7265e8c66e39\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/new_zealand_national_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/49\"}\nDiscarding duplicate membership: {:person_id=>\"517a3527-a103-4385-add3-5710b2e3be25\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/new_zealand_national_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/50\"}\nParty maori_party not in Popolo\n\nTop identifiers:\n  265 x wikidata\n  57 x viaf\n  56 x freebase\n  32 x lcauth\n  11 x isni\n\nCreating names.csv\n  ☇ No dates for Amy Adams (Q4451142) as Minister of Justice\n  ☇ No dates for Clem Simich (Q5131196) as Minister of Corrections\n  ☇ No dates for Damien O'Connor (Q5212493) as Minister of Corrections\n  ☇ No dates for Anne Tolley (Q540420) as Minister of Corrections\n  ☇ No dates for Lockwood Smith (Q5978615) as Minister of Education\n  ☇ No dates for Judith Collins (Q6303349) as Minister of Corrections\n  ☇ No dates for Judith Collins (Q6303349) as Minister of Justice\n  ☇ No dates for Paula Bennett (Q6416051) as Minister of Social Development\n  ☇ No dates for Mark Burton (Q6766942) as Minister of Justice\n  ☇ No dates for Paul Swain (Q7153883) as Minister of Corrections\n  ☇ No dates for Peseta Sam Lotu-Iiga (Q7407811) as Minister of Corrections\n  ☇ No dates for Tony Ryall (Q7823330) as Minister of Justice\n  ☇ No dates for Nick Smith (Q976339) as Minister of Corrections\nPersons matched to Wikidata: 265 ✓ | 14 ✘\n  No wikidata: ACT CS (d408cfd9-2bae-47df-a87c-18dfa3f30e09)\n  No wikidata: Labour (de86f5a4-61a0-455b-ac56-87a11470f4c4)\n  No wikidata: Green (72734b7e-e809-4137-b9ed-4131b0749f20)\n  No wikidata: Shane Jones (69cb44a5-0dc2-4d6c-bec8-256520f94156)\n  No wikidata: 64 (01e2b6b0-ddda-4164-a904-2e5c58c70b84)\n  No wikidata: National (60bdb458-cb2d-4ffd-9f61-09433da20327)\n  No wikidata: 121 (11196143-3f41-4d54-ac9f-2631be059647)\n  No wikidata: NZ First (1a61e94e-73c9-4646-8b17-6131d9af8676)\n  No wikidata: Mana (6b1f6aa0-4a1d-46f8-8db2-6c98042ae5d4)\n  No wikidata: Independent Coalition (28b38375-0fe3-4aff-ab80-bcafb7ea34f8)\nParties matched to Wikidata: 23 ✓ | 1 ✘\n  No wikidata: Overview (party/overview)\nAreas matched to Wikidata: 79 ✓ | 31 ✘\n  No wikidata: X-02 Tainui (area/x-02_tainui)\n  No wikidata: 1 (area/1)\n  No wikidata: X-06 Te Tai Tonga (area/x-06_te_tai_tonga)\n  No wikidata: Otaki (area/otaki)\n  No wikidata: X-07Waiariki (area/x-07waiariki)\n[new-zealand-house-1521555380 7999d00] New Zealand: Refresh from upstream changes\n 6 files changed, 280 insertions(+), 12 deletions(-)\n\n```","created_at":"2018-03-20T14:23:25Z","updated_at":"2018-03-20T14:23:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/85795/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/85795/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/85795/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/7999d00729ebf7fb03ddaff1965eb8d0c4030d0c","head":{"label":"everypolitician:new-zealand-house-1521555380","ref":"new-zealand-house-1521555380","sha":"7999d00729ebf7fb03ddaff1965eb8d0c4030d0c","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars2.githubusercontent.com/u/12497298?v=4","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://avatars2.githubusercontent.com/u/12497298?v=4","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":"2018-03-20T11:25:12Z","pushed_at":"2018-03-20T14:23:19Z","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":1749795,"stargazers_count":98,"watchers_count":98,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":514,"license":null,"forks":16,"open_issues":514,"watchers":98,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"0b3d2a3d0c8afe462d509c0b2daed2d856a7c2e6","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars2.githubusercontent.com/u/12497298?v=4","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://avatars2.githubusercontent.com/u/12497298?v=4","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":"2018-03-20T11:25:12Z","pushed_at":"2018-03-20T14:23:19Z","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":1749795,"stargazers_count":98,"watchers_count":98,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":514,"license":null,"forks":16,"open_issues":514,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/85795"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/85795"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/85795"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/85795/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/85795/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/85795/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/7999d00729ebf7fb03ddaff1965eb8d0c4030d0c"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":280,"deletions":12,"changed_files":6}}
{"actor":{"display_login":"everypoliticianbot"}}