{"action":"opened","number":4290,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/4290","id":59761125,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/4290","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/4290.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/4290.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/4290","number":4290,"state":"open","locked":false,"title":"Brazil (Chamber of Deputies): 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 Brazil - Chamber of Deputies\n\n#### Output\n\n```\nRegenerating sources/morph/data.csv\nRegenerating sources/morph/wikidata.csv\nRegenerating sources/gender-balance/results.csv\n  Match incoming name to name\nCan't match row to existing data: {:id=>\"Q10321916\", :name__pt=>\"Lázaro (cantor)\", :name__en=>\"Lázaro\", :name=>\"Lázaro (cantor)\", :wikipedia__pt=>\"Lázaro (cantor)\", :gender=>\"male\", :given_name=>\"Lázaro\", :original_wikiname=>\"Lázaro (cantor)\", :name__fr=>\"Lázaro\", :birth_date=>\"1966-11-04\", :image=>\"https://upload.wikimedia.org/wikipedia/commons/b/be/Cantor_evangélico_Lazáro.JPG\", :identifier__wikidata=>\"Q10321916\"}\nUnclear gender vote pattern: {:uuid=>\"88811fa2-d70e-4605-8852-671bd37a76cc\", :female=>\"1\", :male=>\"11\", :other=>\"1\", :skip=>\"4\", :total=>\"17\"}\nUnclear gender vote pattern: {:uuid=>\"8ba99cc1-9411-4ccc-b412-5760bad5aff3\", :female=>\"1\", :male=>\"12\", :other=>\"1\", :skip=>\"2\", :total=>\"16\"}\nUnused event: {:id=>\"term/54\", :name=>\"54th Legislature\", :start_date=>\"2011\", :end_date=>\"2015\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/53\", :name=>\"53rd Legislature\", :start_date=>\"2007\", :end_date=>\"2011\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/52\", :name=>\"52nd Legislature\", :start_date=>\"2003\", :end_date=>\"2007\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/51\", :name=>\"51st Legislature\", :start_date=>\"1999\", :end_date=>\"2003\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/50\", :name=>\"50th Legislature\", :start_date=>\"1995\", :end_date=>\"1999\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/49\", :name=>\"49th Legislature\", :start_date=>\"1991\", :end_date=>\"1995\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/48\", :name=>\"48th Legislature\", :start_date=>\"1987\", :end_date=>\"1991\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/47\", :name=>\"47th Legislature\", :start_date=>\"1983\", :end_date=>\"1987\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/46\", :name=>\"46th Legislature\", :start_date=>\"1979\", :end_date=>\"1983\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/45\", :name=>\"45th Legislature\", :start_date=>\"1975\", :end_date=>\"1979\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/44\", :name=>\"44th Legislature\", :start_date=>\"1971\", :end_date=>\"1975\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/43\", :name=>\"43rd Legislature\", :start_date=>\"1967\", :end_date=>\"1971\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/42\", :name=>\"42nd Legislature\", :start_date=>\"1963\", :end_date=>\"1967\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nUnused event: {:id=>\"term/41\", :name=>\"41st Legislature\", :start_date=>\"1959\", :end_date=>\"1962\", :classification=>\"legislative period\", :organization_id=>\"legislature\"}\nCreating term-55.csv\nCreating names.csv\nWikidata Persons: 47 ✓ | 475 ✘\n  Missing: BRUNO ARAÚJO\n  Missing: BETINHO GOMES\n  Missing: JOSÉ PRIANTE\n  Missing: WOLNEY QUEIROZ\n  Missing: ANDRE MOURA\n  Missing: MAX FILHO\n  Missing: FÁBIO FARIA\n  Missing: HÉLIO LEITE\n  Missing: PAULO FOLETTO\n  Missing: LAURA CARNEIRO\nWikidata Parties: 0 ✓ | 28 ✘\nAdd memberships from sources/morph/data.csv\nMerging with sources/morph/wikidata.csv\n* 1 of 48 unmatched\n⚥ 451\n\n```","created_at":"2016-02-18T07:36:25Z","updated_at":"2016-02-18T07:36:25Z","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/4290/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/4290/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/4290/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/d166ba66e18a1d9080c26cd82a1d1122017c272f","head":{"label":"everypolitician:brazil-deputies-1455780878","ref":"brazil-deputies-1455780878","sha":"d166ba66e18a1d9080c26cd82a1d1122017c272f","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}","deployments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/deployments","created_at":"2015-04-28T11:10:07Z","updated_at":"2016-02-12T18:44:03Z","pushed_at":"2016-02-18T07:35:56Z","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":464307,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":239,"forks":4,"open_issues":239,"watchers":18,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"371eba3d0bbca4e683735a68ab105879b6c0c22a","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}","deployments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/deployments","created_at":"2015-04-28T11:10:07Z","updated_at":"2016-02-12T18:44:03Z","pushed_at":"2016-02-18T07:35:56Z","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":464307,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":239,"forks":4,"open_issues":239,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/4290"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/4290"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/4290"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/4290/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/4290/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/4290/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/d166ba66e18a1d9080c26cd82a1d1122017c272f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":39,"deletions":0,"changed_files":4}}