{"action":"created","issue":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/16445","repository_url":"https://api.github.com/repos/everypolitician/everypolitician-data","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/16445/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/16445/comments","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/16445/events","html_url":"https://github.com/everypolitician/everypolitician-data/pull/16445","id":174866031,"number":16445,"title":"New Zealand (New Zealand Parliament): refresh data","user":{"login":"everypoliticianbot","id":12693984,"avatar_url":"https://avatars.githubusercontent.com/u/12693984?v=3","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":[{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/labels/3%20-%20WIP","name":"3 - WIP","color":"CCCCCC"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-02T23:42:46Z","updated_at":"2016-09-02T23:42:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/16445","html_url":"https://github.com/everypolitician/everypolitician-data/pull/16445","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/16445.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/16445.patch"},"body":"Automated data refresh for New Zealand - New Zealand Parliament\n\n#### Output\n\n```\nAdd memberships from sources/morph/data.csv\nAdd memberships from sources/morph/wikipedia.csv\nMerging with sources/morph/wikidata.csv\nMerging with sources/morph/twitter.csv\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 366; 0 added\n\nDiscarding duplicate membership: {:person_id=>\"2fd16480-aa16-4055-bcad-66bfaae6f18b\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/nelson\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"864705b0-2beb-4891-b871-a85374bf40f0\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/pakuranga\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"533c9081-f268-439e-8d7c-6301f364f1a3\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/ilam\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"a7476f0e-e9fc-4dca-9630-aa0dda2dda17\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/labour_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"1974bf1c-1787-4ee2-9b18-b2206a8ab39a\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/labour_party\", :area_id=>\"area/new_lynn\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"596b6dcc-3c12-4133-815d-c96678054701\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"3da5166a-53e8-438c-8aca-0c507b7cc00f\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/papakura\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"cf4011ee-2b62-41f7-897d-0b1bf771a89d\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/helensville\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"85e77499-fe43-47a3-9611-d24154f410a7\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/labour_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"c695fc09-22d2-4e62-8a4a-a77e3f765eeb\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/rangitata\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"eb140527-65ee-4c6b-96b2-4e732b31a8bf\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/northcote\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"b18b9cd2-dcdb-45b0-8d0c-380c5a0b46ea\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/tukituki\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"260f0063-c108-4c99-892d-01e3963c54fe\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/upper_harbour\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"a401d060-8cb8-4bbd-baa5-883a8ea722d5\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/Ōtaki\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"349a1e14-f739-4507-8efe-cdf4d605f3cd\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/christchurch_central\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"e584af29-0b13-44a7-a26f-5bd4838c08b3\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"ae289677-1951-41d8-bf59-122d34011b27\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/selwyn\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"9110db14-2ab5-4f8d-8b41-4aca7efd5887\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/tauranga\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"d9f7319a-566a-42d4-bbeb-e3a85e1db8bf\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/auckland_central\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"2358632b-90c5-4887-93dc-eaf4f1b59e50\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/maungakiekie\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"211ebbf1-82ae-4791-bb0c-92265a077e68\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/taupō\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"358d874b-326e-4d1d-b12d-647a91f4c422\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/rotorua\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"cc30009a-37d8-4c62-bae9-f4410b5c2007\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/labour_party\", :area_id=>\"area/port_hills\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"84a6da5d-29ed-4461-9877-570acab059bd\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"2becba21-c05b-4be5-8360-bf963b1990e8\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"ca9c2097-6b9e-4e6d-be7b-b343d021fbd9\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/green_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"49f1f8d3-aba4-470b-bd49-2a3cde1967f5\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/north_shore\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"bb38b196-aedb-4487-911d-faa6906efb03\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/labour_party\", :area_id=>\"area/dunedin_north\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"9492df2e-f963-4e55-b0e8-db02199cb367\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"6a93d08c-85ee-43f0-9226-d516257a348b\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"32c4d818-8e81-40e1-9292-4f8fd3b30232\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/tāmaki\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"7e0f9041-c537-4c55-9ce6-6d29d5534b38\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/labour_party\", :area_id=>\"area/wigram\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"682d9e24-fe31-41f4-847c-5dba55d79f33\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"4258ee61-b610-4973-8d6b-123143b0e2d5\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"0cde8a8c-919d-44d3-91c0-176e9c66b07c\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/list\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"f0bd4472-ed57-4d78-bce1-5d1462d655aa\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/whangarei\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"102fedca-153b-457e-8a8b-de68f5521a7c\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/labour_party\", :area_id=>\"area/mt_roskill\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"4a629361-b148-439f-b874-af88c9ff8c8c\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/labour_party\", :area_id=>\"area/rongotai\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"478ea760-45b4-4cb1-a8ca-35a5ebcd5289\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/labour_party\", :area_id=>\"area/hauraki-waikato\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"31c94789-10f7-4dc9-b43f-c052f2fa9328\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/labour_party\", :area_id=>\"area/hutt_south\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"67f3f057-cd23-4195-9556-4988fd52be68\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/national_party\", :area_id=>\"area/east_coast_bays\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"c60b57e7-cc3b-48e5-a49e-a7580dacdeb0\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/labour_party\", :area_id=>\"area/west_coast-tasman\", :legislative_period_id=>\"term/51\"}\nDiscarding duplicate membership: {:person_id=>\"995239c2-94c8-40d4-9343-839e60aaebea\", :organization_id=>\"62672598-bda6-4574-a402-cf9ffafa46e9\", :role=>\"member\", :on_behalf_of_id=>\"party/nz_first\", :area_id=>\"area/northland\", :legislative_period_id=>\"term/51\"}\nCreating 4 term files\n\nTop identifiers:\n  230 x wikidata\n  55 x viaf\n  23 x freebase\n  14 x lcauth\n  10 x fast\n\nCreating names.csv\nCreating unstable/positions.csv\n  Unknown position (x2): Q25998902 Minister of Social Development — e.g. Q540420\nPersons matched to Wikidata: 230 ✓ \nParties matched to Wikidata: 23 ✓ | 1 ✘\n  No wikidata: Act Party (party/act_party)\n\n```"},"comment":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/comments/244511169","html_url":"https://github.com/everypolitician/everypolitician-data/pull/16445#issuecomment-244511169","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/16445","id":244511169,"user":{"login":"everypoliticianbot","id":12693984,"avatar_url":"https://avatars.githubusercontent.com/u/12693984?v=3","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":"2016-09-02T23:42:50Z","updated_at":"2016-09-02T23:42:50Z","body":"\n\nSummary of changes in `data/New_Zealand/House/ep-popolo-v1.0.json`:\n\n## People\n\n### Added\n\n\nNo people added\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\nNo organizations added\n\n\n### Removed\n\n\nNo organizations removed\n\n\n## Terms\n\n### Added\n\n\nNo terms added\n\n\n### Removed\n\n\nNo terms removed\n\n\n## Elections\n\n### Added\n\n\nNo elections added\n\n\n### Removed\n\n\nNo elections removed\n\n\n\n\n"}}
{"actor":{"display_login":"everypoliticianbot"}}