{"action":"created","issue":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/99133","repository_url":"https://api.github.com/repos/everypolitician/everypolitician-data","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/99133/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/99133/comments","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/99133/events","html_url":"https://github.com/everypolitician/everypolitician-data/pull/99133","id":333168664,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NDQ3NjE3","number":99133,"title":"New Zealand (New Zealand Parliament): refresh wikipedia","user":{"login":"everypoliticianbot","id":12693984,"node_id":"MDQ6VXNlcjEyNjkzOTg0","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-06-18T08:02:31Z","updated_at":"2018-06-18T08:05:04Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/99133","html_url":"https://github.com/everypolitician/everypolitician-data/pull/99133","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/99133.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/99133.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-1529308742'\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 -> 32d3b01c-fb2c-4199-b120-3c78ac11bfa1\n57 -> ad456706-a8ff-4d1f-8584-b1b9dbb15ddc\n64 -> 3d3a6dbe-ee30-42ff-83e6-048739dca38f\n7 -> ae5ee943-9297-4c44-a7a3-611b23bf631f\nact_cs -> 72e0307a-92b8-4086-aa6d-c5eed73e7ce7\ngreen -> d8667028-9dbd-4254-8be3-b2c6e9987aa2\nindependent_coalition -> a59bb405-e3af-43f8-b3b1-7508c59063d3\nlabour -> d83bc2e5-f838-4ebb-8a50-6bfd52860696\nmana -> 608d6854-efc0-4323-88d8-fcac5471d770\nmāori_cs -> 8ec304b5-12a4-407e-b10f-b1c2bece5809\nnz_first -> 1276f366-c771-4b98-9775-0541ee2a251e\nnational -> 05104cf6-0641-420e-8239-37b8ed049446\nunited_future_cs -> 7d7f0894-b0a6-4eb7-a48f-72f956f04f81\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=>\"920748947764789248\", :name=>\"Ron Mark\"}\n\t{:id=>\"858143732884885504\", :name=>\"Angela Warren-Clark\"}\n\t{:id=>\"904631947875336192\", :name=>\"Lawrence Yule\"}\n\t{:id=>\"870447381006868480\", :name=>\"Golriz Ghahraman\"}\n\t{:id=>\"950486582255001600\", :name=>\"NZ Minister of Finance\"}\n\t{:id=>\"928376122256977921\", :name=>\"Hamish Walker\"}\n\t{:id=>\"1969962980\", :name=>\"Fletcher Tabuteau\"}\n\t{:id=>\"923113113641275392\", :name=>\"Ron Mark MP\"}\nDiscarding duplicate membership: {:person_id=>\"cbf2d6c4-9fb4-48f1-9926-7265e8c66e39\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"new_zealand_national_party\", :area_id=>\"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=>\"new_zealand_national_party\", :area_id=>\"list\", :legislative_period_id=>\"term/50\"}\nParty maori_party not in Popolo\n\nTop identifiers:\n  265 x wikidata\n  58 x viaf\n  56 x freebase\n  34 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 ✓ | 13 ✘\n  No wikidata: Green (d8667028-9dbd-4254-8be3-b2c6e9987aa2)\n  No wikidata: United Future CS (7d7f0894-b0a6-4eb7-a48f-72f956f04f81)\n  No wikidata: ACT CS (72e0307a-92b8-4086-aa6d-c5eed73e7ce7)\n  No wikidata: 64 (3d3a6dbe-ee30-42ff-83e6-048739dca38f)\n  No wikidata: Labour (d83bc2e5-f838-4ebb-8a50-6bfd52860696)\n  No wikidata: NZ First (1276f366-c771-4b98-9775-0541ee2a251e)\n  No wikidata: National (05104cf6-0641-420e-8239-37b8ed049446)\n  No wikidata: Mana (608d6854-efc0-4323-88d8-fcac5471d770)\n  No wikidata: 121 (32d3b01c-fb2c-4199-b120-3c78ac11bfa1)\n  No wikidata: Māori CS (8ec304b5-12a4-407e-b10f-b1c2bece5809)\nParties matched to Wikidata: 23 ✓ | 1 ✘\n  No wikidata: Overview (overview)\nAreas matched to Wikidata: 79 ✓ | 31 ✘\n  No wikidata: 59 (59)\n  No wikidata: Not yet founded (not_yet_founded)\n  No wikidata: Taupo (taupo)\n  No wikidata: Member for Waiariki (member_for_waiariki)\n  No wikidata: 1 (1)\n[new-zealand-house-1529308742 3ecfd5e] New Zealand: Refresh from upstream changes\n 6 files changed, 281 insertions(+), 13 deletions(-)\n\n```"},"comment":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/comments/397973670","html_url":"https://github.com/everypolitician/everypolitician-data/pull/99133#issuecomment-397973670","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/99133","id":397973670,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Nzk3MzY3MA==","user":{"login":"everypoliticianbot","id":12693984,"node_id":"MDQ6VXNlcjEyNjkzOTg0","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-06-18T08:05:04Z","updated_at":"2018-06-18T08:05:04Z","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- `05104cf6-0641-420e-8239-37b8ed049446` - National\n\n- `1276f366-c771-4b98-9775-0541ee2a251e` - NZ First\n\n- `32d3b01c-fb2c-4199-b120-3c78ac11bfa1` - 121\n\n- `3d3a6dbe-ee30-42ff-83e6-048739dca38f` - 64\n\n- `608d6854-efc0-4323-88d8-fcac5471d770` - Mana\n\n- `72e0307a-92b8-4086-aa6d-c5eed73e7ce7` - ACT CS\n\n- `7d7f0894-b0a6-4eb7-a48f-72f956f04f81` - United Future CS\n\n- `8ec304b5-12a4-407e-b10f-b1c2bece5809` - Māori CS\n\n- `a59bb405-e3af-43f8-b3b1-7508c59063d3` - Independent Coalition\n\n- `ad456706-a8ff-4d1f-8584-b1b9dbb15ddc` - 57\n\n- `ae5ee943-9297-4c44-a7a3-611b23bf631f` - 7\n\n- `d83bc2e5-f838-4ebb-8a50-6bfd52860696` - Labour\n\n- `d8667028-9dbd-4254-8be3-b2c6e9987aa2` - Green\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- `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"}}