{"action":"created","issue":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/77678","repository_url":"https://api.github.com/repos/everypolitician/everypolitician-data","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/77678/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/77678/comments","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/77678/events","html_url":"https://github.com/everypolitician/everypolitician-data/pull/77678","id":293876338,"number":77678,"title":"New Zealand (New Zealand Parliament): refresh twitter","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-02-02T12:43:22Z","updated_at":"2018-02-03T19:03:33Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/77678","html_url":"https://github.com/everypolitician/everypolitician-data/pull/77678","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/77678.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/77678.patch"},"body":"Automated refresh of twitter for New Zealand - New Zealand Parliament\n\n#### Output\n\n```\nSwitched to a new branch 'new-zealand-house-1517575184'\nAdd memberships from sources/archive/official-51.csv\nAdd memberships from sources/morph/official-52.csv\nAdd memberships from sources/morph/wikipedia.csv\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=>\"923113113641275392\", :name=>\"Ron Mark MP\"}\n\t{:id=>\"870447381006868480\", :name=>\"Golriz Ghahraman\"}\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 ✓ | 1 ✘\n  No wikidata: Shane Jones (69cb44a5-0dc2-4d6c-bec8-256520f94156)\nParties matched to Wikidata: 23 ✓ \nAreas matched to Wikidata: 79 ✓ | 20 ✘\n  No wikidata: List (area/list)\n  No wikidata: Tamaki (area/tamaki)\n  No wikidata: X-04Te Tai Hauāuru (area/x-04te_tai_hauāuru)\n  No wikidata: Taupo (area/taupo)\n  No wikidata: X-06 Te Tai Tonga (area/x-06_te_tai_tonga)\n[new-zealand-house-1517575184 dd1a72c] New Zealand: Refresh from upstream changes\n 2 files changed, 2 insertions(+), 2 deletions(-)\n\n```"},"comment":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/comments/362845345","html_url":"https://github.com/everypolitician/everypolitician-data/pull/77678#issuecomment-362845345","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/77678","id":362845345,"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-03T19:03:33Z","updated_at":"2018-02-03T19:03:33Z","author_association":"OWNER","body":"This Pull Request has been superseded by #78001"}}
{"actor":{"display_login":"everypoliticianbot"}}