{"action":"opened","number":2254,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/2254","id":53989115,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/2254","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/2254.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/2254.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/2254","number":2254,"state":"open","locked":false,"title":"Samoa: 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},"body":"Automated data refresh for Samoa - Parliament\n\n#### Output\n\n```\nRegenerating sources/morph/wikipedia.csv\nRegenerating sources/morph/data.csv\nRegenerating sources/morph/wikidata.csv\n  Match incoming name to name\nFuzzed {\"Hon Afioga LAUTAFI Fio Selafi Purcell\"=>[[\"Tialavea Fea Tionisio Seigafolava\", 30.76923076923077], [\"Taua Kitiona Seuala\", 30.0], [\"Agafili Patisela Eteuati Tolovaa\", 23.52941176470588]]}\nFuzzed {\"Afioga TUFUGA Gafoaleata Faitua\"=>[[\"Tuisugaletaua Sofara Aveau\", 40.0], [\"Toleafoa Apulu Fa'afisi\", 38.095238095238095], [\"Lafaitele Patrick Leiataualesa\", 36.734693877551024]]}\nFuzzed {\"Susuga PAPALII Lio Faavaivaiomanu Taeu Masipau\"=>[[\"Papali’i Li’o Taeu Masipau Tuilagi\", 50.0], [\"Laauli Leuatea Polataivao\", 29.09090909090909], [\"Tuisugaletaua Sofara Aveau\", 28.57142857142857]]}\nFuzzed {\"Tofa ALO Fulifuli Taveuveu\"=>[[\"Tuisugaletaua Sofara Aveau\", 30.0], [\"Tolofuaivalelei Falemoe Lei’ataua\", 29.78723404255319], [\"Faamoetauloa Ulaitino Faale Tumaalii\", 29.166666666666668]]}\nFuzzed {\"Tofa Fagaaivalu Kenrick Samu\"=>[[\"Gatoloaifaana Amataga Alesana-Gidlow\", 34.61538461538461], [\"Lenatai Victor Faafoi Tamapua\", 32.55813953488372], [\"Lafaitele Patrick Leiataualesa\", 30.434782608695656]]}\nFuzzed {\"Tofa-Faimalotoa-Kika-Iemaima-Stowers\"=>[[\"Gatoloaifaana Amataga Alesana-Gidlow\", 27.27272727272727], [\"Tolofuaivalelei Falemoe Lei’ataua\", 22.22222222222222], [\"Faamoetauloa Ulaitino Faale Tumaalii\", 21.875]]}\nFuzzed {\"Susuga Seiuli Ueligitone Seiuli\"=>[[\"Toeolesulusulu Cedric Schuster\", 24.489795918367346], [\"Agafili Patisela Eteuati Tolovaa\", 20.408163265306122], [\"Faumuina Tiatia Liuga\", 20.0]]}\n7 out of 49 rows not reconciled\nCan't match row to existing data: {:id=>\"25\", :name=>\"Hon Afioga LAUTAFI Fio Selafi Purcell\", :image=>\"http://www.parliament.gov.ws/new/wp-content/gallery/members-parliament-15/Afioga-LAUTAFI-Fio-Selafi-Purcell.png\"}\nCan't match row to existing data: {:id=>\"31\", :name=>\"Afioga TUFUGA Gafoaleata Faitua\", :image=>\"http://www.parliament.gov.ws/new/wp-content/gallery/members-parliament-15/Afioga-TUFUGA-Gafoaleata-Faitua.png\"}\nCan't match row to existing data: {:id=>\"40\", :name=>\"Susuga PAPALII Lio Faavaivaiomanu Taeu Masipau\", :image=>\"http://www.parliament.gov.ws/new/wp-content/gallery/members-parliament-15/Susuga-PAPALII-Lio-Faavaivaiomanu-Taeu-Masipau.png\"}\nCan't match row to existing data: {:id=>\"43\", :name=>\"Tofa ALO Fulifuli Taveuveu\", :image=>\"http://www.parliament.gov.ws/new/wp-content/gallery/members-parliament-15/Tofa-ALO-Fulifuli-Taveuveu.png\"}\nCan't match row to existing data: {:id=>\"45\", :name=>\"Tofa Fagaaivalu Kenrick Samu\", :image=>\"http://www.parliament.gov.ws/new/wp-content/gallery/members-parliament-15/Tofa-Fagaaivalu-Kenrick-Samu.JPG\"}\nCan't match row to existing data: {:id=>\"152\", :name=>\"Tofa-Faimalotoa-Kika-Iemaima-Stowers\", :image=>\"http://www.parliament.gov.ws/new/wp-content/gallery/members-parliament-15/Tofa-Faimalotoa-Kika-Iemaima-Stowers.jpg\"}\nCan't match row to existing data: {:id=>\"1119\", :name=>\"Susuga Seiuli Ueligitone Seiuli\", :image=>\"http://www.parliament.gov.ws/new/wp-content/gallery/members-parliament-15/Susuga-Seiuli-Ueligitone-Seiuli.JPG\"}\n  Match incoming wikipedia__en to wikiname\nCreating term-15.csv\nCreating names.csv\nAdd memberships from sources/morph/wikipedia.csv\nMerging with sources/morph/data.csv\n* 7 of 49 unmatched\nMerging with sources/morph/wikidata.csv\n* 0 of 17 unmatched\n\n```","created_at":"2015-12-17T15:21:57Z","updated_at":"2015-12-17T15:21:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/2254/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/2254/comments","review_comment_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/comments{/number}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/2254/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/6a9a238f1e09b156a51914b27019ad8df143b68f","head":{"label":"everypolitician:samoa-parliament-1450365646","ref":"samoa-parliament-1450365646","sha":"6a9a238f1e09b156a51914b27019ad8df143b68f","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"repo":{"id":34725861,"name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everypolitician/everypolitician-data","description":"","fork":false,"url":"https://api.github.com/repos/everypolitician/everypolitician-data","forks_url":"https://api.github.com/repos/everypolitician/everypolitician-data/forks","keys_url":"https://api.github.com/repos/everypolitician/everypolitician-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everypolitician/everypolitician-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everypolitician/everypolitician-data/teams","hooks_url":"https://api.github.com/repos/everypolitician/everypolitician-data/hooks","issue_events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/events{/number}","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/events","assignees_url":"https://api.github.com/repos/everypolitician/everypolitician-data/assignees{/user}","branches_url":"https://api.github.com/repos/everypolitician/everypolitician-data/branches{/branch}","tags_url":"https://api.github.com/repos/everypolitician/everypolitician-data/tags","blobs_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/{sha}","languages_url":"https://api.github.com/repos/everypolitician/everypolitician-data/languages","stargazers_url":"https://api.github.com/repos/everypolitician/everypolitician-data/stargazers","contributors_url":"https://api.github.com/repos/everypolitician/everypolitician-data/contributors","subscribers_url":"https://api.github.com/repos/everypolitician/everypolitician-data/subscribers","subscription_url":"https://api.github.com/repos/everypolitician/everypolitician-data/subscription","commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/everypolitician/everypolitician-data/contents/{+path}","compare_url":"https://api.github.com/repos/everypolitician/everypolitician-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everypolitician/everypolitician-data/merges","archive_url":"https://api.github.com/repos/everypolitician/everypolitician-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everypolitician/everypolitician-data/downloads","issues_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues{/number}","pulls_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls{/number}","milestones_url":"https://api.github.com/repos/everypolitician/everypolitician-data/milestones{/number}","notifications_url":"https://api.github.com/repos/everypolitician/everypolitician-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/labels{/name}","releases_url":"https://api.github.com/repos/everypolitician/everypolitician-data/releases{/id}","created_at":"2015-04-28T11:10:07Z","updated_at":"2015-11-05T00:59:25Z","pushed_at":"2015-12-17T15:21:58Z","git_url":"git://github.com/everypolitician/everypolitician-data.git","ssh_url":"git@github.com:everypolitician/everypolitician-data.git","clone_url":"https://github.com/everypolitician/everypolitician-data.git","svn_url":"https://github.com/everypolitician/everypolitician-data","homepage":"http://everypolitician.org/","size":290824,"stargazers_count":16,"watchers_count":16,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":216,"forks":4,"open_issues":216,"watchers":16,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"98a25716cc5f0937d6c346a84aac1ae6e96fa860","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"repo":{"id":34725861,"name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everypolitician/everypolitician-data","description":"","fork":false,"url":"https://api.github.com/repos/everypolitician/everypolitician-data","forks_url":"https://api.github.com/repos/everypolitician/everypolitician-data/forks","keys_url":"https://api.github.com/repos/everypolitician/everypolitician-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everypolitician/everypolitician-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everypolitician/everypolitician-data/teams","hooks_url":"https://api.github.com/repos/everypolitician/everypolitician-data/hooks","issue_events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/events{/number}","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/events","assignees_url":"https://api.github.com/repos/everypolitician/everypolitician-data/assignees{/user}","branches_url":"https://api.github.com/repos/everypolitician/everypolitician-data/branches{/branch}","tags_url":"https://api.github.com/repos/everypolitician/everypolitician-data/tags","blobs_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/{sha}","languages_url":"https://api.github.com/repos/everypolitician/everypolitician-data/languages","stargazers_url":"https://api.github.com/repos/everypolitician/everypolitician-data/stargazers","contributors_url":"https://api.github.com/repos/everypolitician/everypolitician-data/contributors","subscribers_url":"https://api.github.com/repos/everypolitician/everypolitician-data/subscribers","subscription_url":"https://api.github.com/repos/everypolitician/everypolitician-data/subscription","commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/everypolitician/everypolitician-data/contents/{+path}","compare_url":"https://api.github.com/repos/everypolitician/everypolitician-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everypolitician/everypolitician-data/merges","archive_url":"https://api.github.com/repos/everypolitician/everypolitician-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everypolitician/everypolitician-data/downloads","issues_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues{/number}","pulls_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls{/number}","milestones_url":"https://api.github.com/repos/everypolitician/everypolitician-data/milestones{/number}","notifications_url":"https://api.github.com/repos/everypolitician/everypolitician-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/labels{/name}","releases_url":"https://api.github.com/repos/everypolitician/everypolitician-data/releases{/id}","created_at":"2015-04-28T11:10:07Z","updated_at":"2015-11-05T00:59:25Z","pushed_at":"2015-12-17T15:21:58Z","git_url":"git://github.com/everypolitician/everypolitician-data.git","ssh_url":"git@github.com:everypolitician/everypolitician-data.git","clone_url":"https://github.com/everypolitician/everypolitician-data.git","svn_url":"https://github.com/everypolitician/everypolitician-data","homepage":"http://everypolitician.org/","size":290824,"stargazers_count":16,"watchers_count":16,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":216,"forks":4,"open_issues":216,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/2254"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/2254"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/2254"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/2254/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/2254/comments"},"review_comment":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/2254/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/6a9a238f1e09b156a51914b27019ad8df143b68f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":299,"deletions":27,"changed_files":2}}