{"action":"created","issue":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/80399","repository_url":"https://api.github.com/repos/everypolitician/everypolitician-data","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/80399/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/80399/comments","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/80399/events","html_url":"https://github.com/everypolitician/everypolitician-data/pull/80399","id":297156364,"number":80399,"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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-14T16:18:48Z","updated_at":"2018-02-14T16:21:39Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/80399","html_url":"https://github.com/everypolitician/everypolitician-data/pull/80399","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/80399.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/80399.patch"},"body":"Automated refresh of wikipedia for New Zealand - New Zealand Parliament\n\n#### Output\n\n```\nSwitched to a new branch 'new-zealand-house-1518624884'\nAdd memberships from sources/archive/official-51.csv\nAdd memberships from sources/morph/official-52.csv\nAdd memberships from sources/morph/wikipedia.csv\n121 -> fcc4437f-1c2a-45c1-91d4-ecb2347dd3bb\n57 -> fb682d96-dff0-423f-809f-0bab81aee36a\n64 -> 0ce69de9-5a40-4054-8f1b-1abe4fb9f5cb\n7 -> fade3269-deb3-49c8-90b5-d092c617d78b\nact_cs -> ad879558-e637-4ac3-a16e-5fd9c67eebc9\ngreen -> 75ca2eae-24a1-4a52-a457-8578ca5913c5\nindependent_coalition -> ddacac9c-68a2-4a08-8e3f-4f208795d639\nlabour -> bba71522-b514-438a-b4dd-fb1cab2fb142\nmana -> 593d3420-ad8e-4845-a6d7-e3013d1bc701\nmāori_cs -> efd63fab-b4de-493d-b177-bcd6c9090726\nnz_first -> 3a0428b1-09e7-4018-81f8-cf8bc3cc492a\nnational -> 118d356f-57a7-4cb1-94cc-949f3274f90a\nunited_future_cs -> 00b3c086-c1e5-4da0-8ae5-a6b979148a36\nMerging with sources/morph/wikidata.csv\nData Mismatches\n* 2 of 265 unmatched\n\t{:id=>\"Q41689955\", :name=>\"Golriz Ghahraman\"}\n\t{:id=>\"Q42291428\", :name=>\"Angie Warren-Clark\"}\nMerging with sources/morph/genderbalance.csv\nMerging with sources/morph/twitter.csv\nData Mismatches\n* 4 of 140 unmatched\n\t{:id=>\"870447381006868480\", :name=>\"Golriz Ghahraman\"}\n\t{:id=>\"923113113641275392\", :name=>\"Ron Mark MP\"}\n\t{:id=>\"920748947764789248\", :name=>\"Ron Mark\"}\n\t{:id=>\"858143732884885504\", :name=>\"Angela Warren-Clark\"}\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  263 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: 263 ✓ | 14 ✘\n  No wikidata: Shane Jones (69cb44a5-0dc2-4d6c-bec8-256520f94156)\n  No wikidata: Green (75ca2eae-24a1-4a52-a457-8578ca5913c5)\n  No wikidata: 64 (0ce69de9-5a40-4054-8f1b-1abe4fb9f5cb)\n  No wikidata: 57 (fb682d96-dff0-423f-809f-0bab81aee36a)\n  No wikidata: National (118d356f-57a7-4cb1-94cc-949f3274f90a)\n  No wikidata: 7 (fade3269-deb3-49c8-90b5-d092c617d78b)\n  No wikidata: Mana (593d3420-ad8e-4845-a6d7-e3013d1bc701)\n  No wikidata: United Future CS (00b3c086-c1e5-4da0-8ae5-a6b979148a36)\n  No wikidata: 121 (fcc4437f-1c2a-45c1-91d4-ecb2347dd3bb)\n  No wikidata: Māori CS (efd63fab-b4de-493d-b177-bcd6c9090726)\nParties matched to Wikidata: 23 ✓ | 1 ✘\n  No wikidata: Overview (party/overview)\nAreas matched to Wikidata: 79 ✓ | 31 ✘\n  No wikidata: Mangere (area/mangere)\n  No wikidata: Waiariki (area/waiariki)\n  No wikidata: 1 (area/1)\n  No wikidata: X-04Te Tai Hauāuru (area/x-04te_tai_hauāuru)\n  No wikidata: 57 (area/57)\n[new-zealand-house-1518624884 de59965] New Zealand: Refresh from upstream changes\n 6 files changed, 280 insertions(+), 12 deletions(-)\n\n```"},"comment":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/comments/365660361","html_url":"https://github.com/everypolitician/everypolitician-data/pull/80399#issuecomment-365660361","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/80399","id":365660361,"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},"created_at":"2018-02-14T16:21:39Z","updated_at":"2018-02-14T16:21:39Z","author_association":"OWNER","body":"\n\nSummary of changes in `data/New_Zealand/House/ep-popolo-v1.0.json`:\n\n## People\n\n### Added\n\n\n\n- `00b3c086-c1e5-4da0-8ae5-a6b979148a36` - United Future CS\n\n- `0ce69de9-5a40-4054-8f1b-1abe4fb9f5cb` - 64\n\n- `118d356f-57a7-4cb1-94cc-949f3274f90a` - National\n\n- `3a0428b1-09e7-4018-81f8-cf8bc3cc492a` - NZ First\n\n- `593d3420-ad8e-4845-a6d7-e3013d1bc701` - Mana\n\n- `75ca2eae-24a1-4a52-a457-8578ca5913c5` - Green\n\n- `ad879558-e637-4ac3-a16e-5fd9c67eebc9` - ACT CS\n\n- `bba71522-b514-438a-b4dd-fb1cab2fb142` - Labour\n\n- `ddacac9c-68a2-4a08-8e3f-4f208795d639` - Independent Coalition\n\n- `efd63fab-b4de-493d-b177-bcd6c9090726` - Māori CS\n\n- `fade3269-deb3-49c8-90b5-d092c617d78b` - 7\n\n- `fb682d96-dff0-423f-809f-0bab81aee36a` - 57\n\n- `fcc4437f-1c2a-45c1-91d4-ecb2347dd3bb` - 121\n\n\n\n### Removed\n\n\nNo people removed\n\n\n### Name Changes\n\n\nNo name changes\n\n\n### Additional Name Changes\n\n\nNo name changes\n\n\n### Wikidata Changes\n\n\nNo changes\n\n\n## Organizations\n\n### Added\n\n\n\n- `party/overview` - Overview\n\n\n\n### Removed\n\n\nNo organizations removed\n\n\n## Memberships\n\n### Added\n\n\n#### term/50\n\n- 121 \n\n- 57 \n\n- 64 \n\n- 7 \n\n- ACT CS \n\n- Green \n\n- Independent Coalition \n\n- Labour \n\n- Mana \n\n- Māori CS \n\n- NZ First \n\n- National \n\n- United Future CS \n\n\n\n\n### Removed\n\nNo memberships removed\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}}
{"actor":{"display_login":"everypoliticianbot"}}