{"action":"closed","number":19272,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/19272","id":91093818,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/19272","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/19272.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/19272.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/19272","number":19272,"state":"closed","locked":false,"title":"Portugal (Assembleia da República): 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 Portugal - Assembleia da República\n\n#### Output\n\n```\n⤈ No ORDER BY for sources/morph/data.csv\nAdd memberships from sources/morph/centraldedados.csv\nMerging with sources/morph/data.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 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 48e13e7c-ab4f-47ae-ac48-f8eddb04536a (1947-01-01) vs 1946-09-25 (for Q21065064)\n* 88 of 297 unmatched\n\t{:id=>\"Q16498018\", :name=>\"Berta Cabral\"}\n\t{:id=>\"Q10307123\", :name=>\"Joaquim Catanho de Menezes\"}\n\t{:id=>\"Q17420848\", :name=>\"Virgílio Pereira\"}\n\t{:id=>\"Q9619186\", :name=>\"António Gonzalez\"}\n\t{:id=>\"Q367010\", :name=>\"Francisco Sá Carneiro\"}\n\t{:id=>\"Q3132528\", :name=>\"Henrique Nascimento Rodrigues\"}\n\t{:id=>\"Q5716796\", :name=>\"Henrique de Barros\"}\n\t{:id=>\"Q1389840\", :name=>\"José Luís da Cruz Vilaça\"}\n\t{:id=>\"Q10294715\", :name=>\"Henrique Barrilaro Ruas\"}\n\t{:id=>\"Q318390\", :name=>\"Abel Botelho\"}\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 704; 638 added\n\n\nTop identifiers:\n  1272 x parlamento\n  209 x wikidata\n  101 x viaf\n  54 x isni\n  47 x sudoc\n\nCreating names.csv\nCreating unstable/positions.csv\n  Unknown position (x1): Q81066 United Nations Secretary-General — e.g. Q311440\n  Unknown position (x1): Q27104951 President of the Socialist International — e.g. Q311440\n  Unknown position (x1): Q27134289 General Secretary of the Socialist Party (Portugal) — e.g. Q311440\n  Unknown position (x1): Q27137568 member of the Parliamentary Assembly of the Council of Europe — e.g. Q311440\n  Unknown position (x1): Q16321109 President-in-Office of the European Council — e.g. Q311440\n  Unknown position (x1): Q1283287 Ministry of Foreign Affairs of Portugal — e.g. Q15849\n  Unknown position (x1): Q884840 Left Bloc — e.g. Q1442096\n  Unknown position (x1): Q1837874 List of mayors of Lisbon — e.g. Q1340708\n  Unknown position (x2): Q769829 Portuguese Communist Party — e.g. Q1042803\nPersons matched to Wikidata: 209 ✓ | 1063 ✘\n  No wikidata: André Pardal (c4e13b78-95ea-4b67-8fa7-376fa835d566)\n  No wikidata: José Pires da Silva (23e8806b-a085-4fe5-9b69-4e90810fc90f)\n  No wikidata: Ana Maria Bettencourt (646d09dd-98d0-4f93-b231-fc568a1ff90d)\n  No wikidata: Carmen Francisco (f10e5293-9cb7-49a6-98c3-06fb415eba1d)\n  No wikidata: Amândio Oliveira (33f4495a-6ce1-4708-8e9a-be04d1c751ce)\n  No wikidata: José Barradas (f6af0dc2-b7e9-4df5-b2c9-ce61883254ab)\n  No wikidata: António Morgado (d0177deb-6fd9-4596-a8da-749f337beb14)\n  No wikidata: José Lino Ramos (16fb3aa7-7fb3-4248-a82e-87aa728ec22d)\n  No wikidata: Maria José Castelo Branco (fb719c59-8f0c-48bd-b722-c9db2f66ec0f)\n  No wikidata: Paulo Mendo (1d903eb1-4ca1-4a2b-97bb-c4a94eba7621)\nParties matched to Wikidata: 6 ✓ | 9 ✘\n  No wikidata: ASDI (party/asdi)\n  No wikidata: PSN (party/psn)\n  No wikidata: UDP (party/udp)\n  No wikidata: CDS (party/cds)\n  No wikidata: MDPCDE (party/mdpcde)\n\n```","created_at":"2016-10-26T21:38:39Z","updated_at":"2016-10-27T06:24:25Z","closed_at":"2016-10-27T06:24:25Z","merged_at":"2016-10-27T06:24:25Z","merge_commit_sha":"15226bbf0a06ff0d062535d7c107850c95de9273","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/19272/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/19272/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/19272/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/21d34b0429ef553d071a5cf83f71a113f6f8ec9c","head":{"label":"everypolitician:portugal-assembly-1477517043","ref":"portugal-assembly-1477517043","sha":"21d34b0429ef553d071a5cf83f71a113f6f8ec9c","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":"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":"2016-10-27T01:54:45Z","pushed_at":"2016-10-27T06:24:25Z","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":1338611,"stargazers_count":36,"watchers_count":36,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":391,"forks":8,"open_issues":391,"watchers":36,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"c9f3e358f13e10e62e59558e900c470ffae94685","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":"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":"2016-10-27T01:54:45Z","pushed_at":"2016-10-27T06:24:25Z","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":1338611,"stargazers_count":36,"watchers_count":36,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":391,"forks":8,"open_issues":391,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/19272"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/19272"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/19272"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/19272/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/19272/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/19272/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/21d34b0429ef553d071a5cf83f71a113f6f8ec9c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":79,"deletions":4,"changed_files":5}}
{"actor":{"display_login":"tmtmtmtm"}}