{"action":"created","issue":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/86370","repository_url":"https://api.github.com/repos/everypolitician/everypolitician-data","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/86370/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/86370/comments","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/86370/events","html_url":"https://github.com/everypolitician/everypolitician-data/pull/86370","id":308284671,"number":86370,"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":1,"created_at":"2018-03-24T17:58:35Z","updated_at":"2018-03-24T18:00:49Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/86370","html_url":"https://github.com/everypolitician/everypolitician-data/pull/86370","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/86370.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/86370.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-1521914049'\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 -> 042e0a3d-a234-4a10-8802-451717d21b30\n57 -> 0cf5c38f-a005-4581-b757-e685d2b99573\n64 -> 84492b20-f314-4a25-832c-40deffd55b85\n7 -> 3896b2d8-1d36-4175-a8f8-4a3f552ba6b3\nact_cs -> 6da77ce7-0a4a-4169-a94d-95468a726f2a\ngreen -> 4e3e8bd7-6e16-4571-94c8-46c0bd0554c9\nindependent_coalition -> f6356f33-7218-4aa3-b032-2d8cb3db444a\nlabour -> 498aa258-381b-4e58-8597-0d9ade75b99b\nmana -> ff732c52-90fd-42dd-9d2a-9bc4e59d5885\nmāori_cs -> 5844a1d3-f7ce-4d99-b11b-3e15551b2b2a\nnz_first -> c858d363-cee7-4247-94bb-aa3cadd5bb96\nnational -> a4d24548-347d-4a4a-a964-2e1fac1e2888\nunited_future_cs -> 79e011b3-2833-4bdf-9cfe-6dc3746b197b\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=>\"858143732884885504\", :name=>\"Angela Warren-Clark\"}\n\t{:id=>\"870447381006868480\", :name=>\"Golriz Ghahraman\"}\n\t{:id=>\"928376122256977921\", :name=>\"Hamish Walker\"}\n\t{:id=>\"904631947875336192\", :name=>\"Lawrence Yule\"}\n\t{:id=>\"920748947764789248\", :name=>\"Ron Mark\"}\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 (6da77ce7-0a4a-4169-a94d-95468a726f2a)\n  No wikidata: 57 (0cf5c38f-a005-4581-b757-e685d2b99573)\n  No wikidata: 7 (3896b2d8-1d36-4175-a8f8-4a3f552ba6b3)\n  No wikidata: Mana (ff732c52-90fd-42dd-9d2a-9bc4e59d5885)\n  No wikidata: Shane Jones (69cb44a5-0dc2-4d6c-bec8-256520f94156)\n  No wikidata: Māori CS (5844a1d3-f7ce-4d99-b11b-3e15551b2b2a)\n  No wikidata: United Future CS (79e011b3-2833-4bdf-9cfe-6dc3746b197b)\n  No wikidata: Independent Coalition (f6356f33-7218-4aa3-b032-2d8cb3db444a)\n  No wikidata: National (a4d24548-347d-4a4a-a964-2e1fac1e2888)\n  No wikidata: 64 (84492b20-f314-4a25-832c-40deffd55b85)\nParties matched to Wikidata: 23 ✓ | 1 ✘\n  No wikidata: Overview (party/overview)\nAreas matched to Wikidata: 79 ✓ | 31 ✘\n  No wikidata: 3 (area/3)\n  No wikidata: X-03Tāmaki Makaurau (area/x-03tāmaki_makaurau)\n  No wikidata: Kaikōura (area/kaikōura)\n  No wikidata: Mangere (area/mangere)\n  No wikidata: Ōhariu (area/Ōhariu)\n[new-zealand-house-1521914049 f29e080] 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/375912594","html_url":"https://github.com/everypolitician/everypolitician-data/pull/86370#issuecomment-375912594","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/86370","id":375912594,"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-03-24T18:00:49Z","updated_at":"2018-03-24T18:00:49Z","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- `042e0a3d-a234-4a10-8802-451717d21b30` - 121\n\n- `0cf5c38f-a005-4581-b757-e685d2b99573` - 57\n\n- `3896b2d8-1d36-4175-a8f8-4a3f552ba6b3` - 7\n\n- `498aa258-381b-4e58-8597-0d9ade75b99b` - Labour\n\n- `4e3e8bd7-6e16-4571-94c8-46c0bd0554c9` - Green\n\n- `5844a1d3-f7ce-4d99-b11b-3e15551b2b2a` - Māori CS\n\n- `6da77ce7-0a4a-4169-a94d-95468a726f2a` - ACT CS\n\n- `79e011b3-2833-4bdf-9cfe-6dc3746b197b` - United Future CS\n\n- `84492b20-f314-4a25-832c-40deffd55b85` - 64\n\n- `a4d24548-347d-4a4a-a964-2e1fac1e2888` - National\n\n- `c858d363-cee7-4247-94bb-aa3cadd5bb96` - NZ First\n\n- `f6356f33-7218-4aa3-b032-2d8cb3db444a` - Independent Coalition\n\n- `ff732c52-90fd-42dd-9d2a-9bc4e59d5885` - 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"}}