{"action":"closed","number":59667,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/59667","id":149106547,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/59667","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/59667.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/59667.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/59667","number":59667,"state":"closed","locked":false,"title":"Portugal (Assembleia da República): refresh areas","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},"body":"Automated refresh of areas for Portugal - Assembleia da República\n\n#### Output\n\n```\nSwitched to a new branch 'portugal-assembly-1509083449'\nAdd memberships from sources/morph/centraldedados.csv\nMerging with sources/morph/democratica.csv\nMerging with sources/morph/wikidata.csv\nData Mismatches\n  ☁ Mismatch in birth_date for 100ea2cc-58f1-4b0b-97a8-8ca6e9881e7c (2009-01-01) vs 1962-03-14 (for Q10284869)\n  ☁ Mismatch in birth_date for 04fa6992-ec8f-468e-9ee7-a5b8b33b5815 (1955-06-28) vs 1920-06-12 (for Q10285168)\n  ☁ Mismatch in birth_date for 4470d035-b9f2-4d75-bbcb-489866c67a2e (1952-02-18) vs 1952-01-17 (for Q10307408)\n  ☁ Mismatch in birth_date for 2825283d-270b-40f1-a190-f9e664157335 (1975-04-19) vs 1974-04-19 (for Q10322008)\n  ☁ Mismatch in birth_date for 0a9700bc-31ed-4928-8519-592d99e4c4af (1965-05-23) vs 1899-09-06 (for Q1339831)\n  ☁ Mismatch in birth_date for 5c26770e-1bdf-4285-a1b8-98ae91a94ab2 (1937-01-01) vs 1936-11-21 (for Q16336718)\n  ☁ Mismatch in birth_date for 1a0878d5-3b94-4908-8d50-5b4e88da0674 (2009-01-01) vs 1952 (for Q16498018)\n  ☁ Mismatch in birth_date for 48e13e7c-ab4f-47ae-ac48-f8eddb04536a (1947-01-01) vs 1946-09-25 (for Q21065064)\n  ☁ Mismatch in birth_date for 8f9d2c5f-48f0-47f0-a448-2ae4d6745bee (1965-04-28) vs 1965-05-28 (for Q7155277)\n* 101 of 333 unmatched\n\t{:id=>\"Q993533\", :name=>\"Isaltino Morais\"}\n\t{:id=>\"Q10282267\", :name=>\"Filipe José Freire Temudo Barata\"}\n\t{:id=>\"Q10334395\", :name=>\"Mário Cal Brandão\"}\n\t{:id=>\"Q6294212\", :name=>\"José Vitoriano\"}\n\t{:id=>\"Q10346568\", :name=>\"Paulo Estêvão\"}\n\t{:id=>\"Q6706851\", :name=>\"Luís Teotónio Pereira\"}\n\t{:id=>\"Q10365290\", :name=>\"Rui Mateus\"}\n\t{:id=>\"Q5716796\", :name=>\"Henrique de Barros\"}\n\t{:id=>\"Q2857756\", :name=>\"António Barreto\"}\n\t{:id=>\"Q7404412\", :name=>\"Francisco Salgado Zenha\"}\nMerging with sources/morph/genderbalance.csv\n\nTop identifiers:\n  1356 x parlamento\n  232 x wikidata\n  110 x viaf\n  60 x isni\n  51 x sudoc\n\nCreating names.csv\n  ☇ No dates for Rui Machete (Q10365280) as Minister of National Defence\n  ☇ No dates for Luís Amado (Q1382641) as Minister of National Defence\n  ☇ No dates for Luís Amado (Q1382641) as Minister of Foreign Affairs\n  ☇ No dates for José Sócrates (Q182367) as Prime Minister of Portugal\n  ☇ No dates for José Sócrates (Q182367) as Minister of Social Infrastructure\n  ☇ No dates for Pedro Santana Lopes (Q239248) as Prime Minister of Portugal\n  ☇ No dates for Freitas do Amaral (Q438868) as Minister of Foreign Affairs\n  ☇ No dates for Jaime Gama (Q472589) as Minister of Foreign Affairs\n  ☇ No dates for Paulo Portas (Q58161) as Minister of Foreign Affairs\n  ☇ No dates for Maria de Belém Roseira (Q6761683) as Minister of Health\n  ☇ No dates for Maria de Belém Roseira (Q6761683) as Minister for Women and Equalities\nPersons matched to Wikidata: 232 ✓ | 1124 ✘\n  No wikidata: Esmeralda Salero Ramires (ed8202fa-9029-43fa-a50c-81c37b10aa2d)\n  No wikidata: Alberto Costa (f8cf72f1-b5d8-4e92-a161-f7f3cd143175)\n  No wikidata: Manuel Pereira (6bfff30e-3900-4ec9-9060-fa34eea40099)\n  No wikidata: Armando França (b91c0aeb-5702-4e41-99a8-56a4cb44c021)\n  No wikidata: Carlos Lopes (d04c53ee-8770-4258-86e0-02eb766659fe)\n  No wikidata: Isabel Sequeira (882cedd7-2e2e-4cc1-8102-e5462e9fdab6)\n  No wikidata: Isabel Alves Moreira (1c52b035-e7a0-46e5-bc34-4b3ff15036b7)\n  No wikidata: José de Matos Correia (802a3c7f-ac3b-4995-926b-a72364f403e7)\n  No wikidata: Ana Maria Rocha (15f77dea-46f1-46a4-b172-522b5bcae911)\n  No wikidata: Pedro Pestana Bastos (99769878-c548-427e-b312-3a6859391cd7)\nParties matched to Wikidata: 16 ✓ \nAreas matched to Wikidata: 2 ✓ | 21 ✘\n  No wikidata: Lisboa (area/lisboa)\n  No wikidata: Viseu (area/viseu)\n  No wikidata: Viana do Castelo (area/viana_do_castelo)\n  No wikidata: Santarém (area/santarém)\n  No wikidata: Coimbra (area/coimbra)\n[portugal-assembly-1509083449 8abcd24] Portugal: Refresh from upstream changes\n 17 files changed, 3501 insertions(+), 9044 deletions(-)\n rewrite data/Portugal/Assembly/sources/morph/areas.csv (87%)\n\n```","created_at":"2017-10-27T05:57:16Z","updated_at":"2017-10-28T20:39:34Z","closed_at":"2017-10-28T20:39:34Z","merged_at":null,"merge_commit_sha":"be520e25a10262af16ed58a97d8a0cf1db6a4e78","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/59667/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/59667/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/59667/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/8abcd243a74300843f5cc76dc77355ac7e6bf771","head":{"label":"everypolitician:portugal-assembly-1509083449","ref":"portugal-assembly-1509083449","sha":"8abcd243a74300843f5cc76dc77355ac7e6bf771","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars2.githubusercontent.com/u/12497298?v=4","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://avatars2.githubusercontent.com/u/12497298?v=4","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":"EveryPolitician's core data store","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":"2017-10-25T22:47:45Z","pushed_at":"2017-10-28T20:39:20Z","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":2249871,"stargazers_count":89,"watchers_count":89,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":640,"forks":17,"open_issues":640,"watchers":89,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"fdf9bbfc9994c6cc4eb4ae2acc06f5bad2673862","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars2.githubusercontent.com/u/12497298?v=4","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://avatars2.githubusercontent.com/u/12497298?v=4","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":"EveryPolitician's core data store","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":"2017-10-25T22:47:45Z","pushed_at":"2017-10-28T20:39:20Z","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":2249871,"stargazers_count":89,"watchers_count":89,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":640,"forks":17,"open_issues":640,"watchers":89,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/59667"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/59667"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/59667"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/59667/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/59667/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/59667/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/8abcd243a74300843f5cc76dc77355ac7e6bf771"}},"author_association":"OWNER","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3500,"deletions":9043,"changed_files":17}}
{"actor":{"display_login":"everypoliticianbot"}}