{"action":"created","issue":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/95572","repository_url":"https://api.github.com/repos/everypolitician/everypolitician-data","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/95572/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/95572/comments","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/95572/events","html_url":"https://github.com/everypolitician/everypolitician-data/pull/95572","id":324594202,"number":95572,"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-05-19T02:31:11Z","updated_at":"2018-05-19T02:33:25Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/95572","html_url":"https://github.com/everypolitician/everypolitician-data/pull/95572","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/95572.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/95572.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-1526696759'\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 -> 7790c52b-59f0-450a-9012-ccb8ffe45d9b\n57 -> 26e2104e-fe04-4b08-8d2e-1010064ec9b4\n64 -> d921b804-512d-4529-8887-705a9ea72bc6\n7 -> 25c22baa-d960-42cb-b1f1-022a0b5aed1e\nact_cs -> 77d426f8-1f9b-4ba9-a53b-02d39b790006\ngreen -> c7716922-5c3a-4475-941b-c6bb125ca67f\nindependent_coalition -> b90e18bf-48e6-4235-95d5-cf137e72a90d\nlabour -> 51ca9d33-7b63-4327-bf12-351b85c4ed56\nmana -> db134297-e9e3-47a7-8fa9-43435f73b596\nmāori_cs -> 743ad3b7-d25c-443b-9392-68cc30e3f9d1\nnz_first -> 0ab6f956-07de-444c-8991-d654621792a6\nnational -> 8baf1edb-15a4-437f-864f-cf9403848678\nunited_future_cs -> d58c8741-65cf-444d-82e8-12464e89f2e7\nMerging with sources/morph/wikidata.csv\nMerging with sources/morph/genderbalance.csv\nMerging with sources/morph/twitter.csv\nData Mismatches\n* 8 of 144 unmatched\n\t{:id=>\"904631947875336192\", :name=>\"Lawrence Yule\"}\n\t{:id=>\"928376122256977921\", :name=>\"Hamish Walker\"}\n\t{:id=>\"870447381006868480\", :name=>\"Golriz Ghahraman\"}\n\t{:id=>\"858143732884885504\", :name=>\"Angela Warren-Clark\"}\n\t{:id=>\"950486582255001600\", :name=>\"NZ Minister of Finance\"}\n\t{:id=>\"920748947764789248\", :name=>\"Ron Mark\"}\n\t{:id=>\"923113113641275392\", :name=>\"Ron Mark MP\"}\n\t{:id=>\"1969962980\", :name=>\"Fletcher Tabuteau\"}\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: United Future CS (d58c8741-65cf-444d-82e8-12464e89f2e7)\n  No wikidata: National (8baf1edb-15a4-437f-864f-cf9403848678)\n  No wikidata: Independent Coalition (b90e18bf-48e6-4235-95d5-cf137e72a90d)\n  No wikidata: 64 (d921b804-512d-4529-8887-705a9ea72bc6)\n  No wikidata: NZ First (0ab6f956-07de-444c-8991-d654621792a6)\n  No wikidata: Labour (51ca9d33-7b63-4327-bf12-351b85c4ed56)\n  No wikidata: ACT CS (77d426f8-1f9b-4ba9-a53b-02d39b790006)\n  No wikidata: 121 (7790c52b-59f0-450a-9012-ccb8ffe45d9b)\n  No wikidata: Māori CS (743ad3b7-d25c-443b-9392-68cc30e3f9d1)\n  No wikidata: Green (c7716922-5c3a-4475-941b-c6bb125ca67f)\nParties matched to Wikidata: 23 ✓ | 1 ✘\n  No wikidata: Overview (party/overview)\nAreas matched to Wikidata: 79 ✓ | 31 ✘\n  No wikidata: X-05Te Tai Tokerau (area/x-05te_tai_tokerau)\n  No wikidata: List (area/list)\n  No wikidata: 121 (area/121)\n  No wikidata: Kaikōura (area/kaikōura)\n  No wikidata: 3 (area/3)\n[new-zealand-house-1526696759 18c6647] 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/390372353","html_url":"https://github.com/everypolitician/everypolitician-data/pull/95572#issuecomment-390372353","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/95572","id":390372353,"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-05-19T02:33:25Z","updated_at":"2018-05-19T02:33:25Z","author_association":"MEMBER","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- `0ab6f956-07de-444c-8991-d654621792a6` - NZ First\n\n- `25c22baa-d960-42cb-b1f1-022a0b5aed1e` - 7\n\n- `26e2104e-fe04-4b08-8d2e-1010064ec9b4` - 57\n\n- `51ca9d33-7b63-4327-bf12-351b85c4ed56` - Labour\n\n- `743ad3b7-d25c-443b-9392-68cc30e3f9d1` - Māori CS\n\n- `7790c52b-59f0-450a-9012-ccb8ffe45d9b` - 121\n\n- `77d426f8-1f9b-4ba9-a53b-02d39b790006` - ACT CS\n\n- `8baf1edb-15a4-437f-864f-cf9403848678` - National\n\n- `b90e18bf-48e6-4235-95d5-cf137e72a90d` - Independent Coalition\n\n- `c7716922-5c3a-4475-941b-c6bb125ca67f` - Green\n\n- `d58c8741-65cf-444d-82e8-12464e89f2e7` - United Future CS\n\n- `d921b804-512d-4529-8887-705a9ea72bc6` - 64\n\n- `db134297-e9e3-47a7-8fa9-43435f73b596` - Mana\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"}}