{"action":"opened","number":47682,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/47682","id":133116687,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/47682","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/47682.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/47682.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/47682","number":47682,"state":"open","locked":false,"title":"Portugal (Assembleia da República): refresh wikidata","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 wikidata for Portugal - Assembleia da República\n\n#### Output\n\n```\nSwitched to a new branch 'portugal-assembly-1501391437'\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* 85 of 309 unmatched\n\t{:id=>\"Q993533\", :name=>\"Isaltino Morais\"}\n\t{:id=>\"Q16493173\", :name=>\"Aquilino Ribeiro Machado\"}\n\t{:id=>\"Q10312177\", :name=>\"João Rosado Correia\"}\n\t{:id=>\"Q2119928\", :name=>\"Vasco Graça Moura\"}\n\t{:id=>\"Q10307123\", :name=>\"Joaquim Catanho de Menezes\"}\n\t{:id=>\"Q10281669\", :name=>\"Ferrer Loureiro\"}\n\t{:id=>\"Q10310706\", :name=>\"José da Silva Lopes\"}\n\t{:id=>\"Q4777639\", :name=>\"António Luciano Pacheco de Sousa Franco\"}\n\t{:id=>\"Q10295014\", :name=>\"Herculano Pombo\"}\n\t{:id=>\"Q10367513\", :name=>\"Sanches Osório\"}\nMerging with sources/morph/genderbalance.csv\n\nTop identifiers:\n  1356 x parlamento\n  224 x wikidata\n  105 x viaf\n  58 x isni\n  48 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 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: 224 ✓ | 1132 ✘\n  No wikidata: Ana Paula Barros (7edd52af-178c-4cf3-b9d4-77ed0b34bfe0)\n  No wikidata: Santos Cruz (591a8662-2112-4889-b47e-0abf43526e82)\n  No wikidata: Rui Silva (99dbd476-ec7b-441b-b253-2586e25a5848)\n  No wikidata: Ricardo Bexiga (403253dc-bc28-4f17-992a-52f6d16434d5)\n  No wikidata: Maria da Conceição Caldeira (29d68e8b-8c38-40f1-b55e-9eaf511cb759)\n  No wikidata: Elza Pais (3cd53585-9bf8-46c8-a8e3-62863f69b10d)\n  No wikidata: Luísa Mesquita (6fda6e93-d5ac-4902-9a76-3cd80a742fd9)\n  No wikidata: António Costa Silva (bc228fa7-cc27-4461-a8c6-0ffe619abaa4)\n  No wikidata: José Rui Cruz (7823d5ef-54bd-4d91-9888-a27d96169e7b)\n  No wikidata: Eduardo Gomes (b07ecf27-0754-401e-8f73-cc63562d1870)\nParties matched to Wikidata: 16 ✓ \nAreas matched to Wikidata: 20 ✓ | 3 ✘\n  No wikidata: Ponta Delgada (area/ponta_delgada)\n  No wikidata: Fora da Europa (area/fora_da_europa)\n  No wikidata: Europa (area/europa)\n[portugal-assembly-1501391437 57d2b81] Portugal: Refresh from upstream changes\n 5 files changed, 32 insertions(+), 9 deletions(-)\n\n```","created_at":"2017-07-30T05:16:10Z","updated_at":"2017-07-30T05:16:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/47682/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/47682/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/47682/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/57d2b81f68dc5f062fbdcb96216cc840749c0ac2","head":{"label":"everypolitician:portugal-assembly-1501391437","ref":"portugal-assembly-1501391437","sha":"57d2b81f68dc5f062fbdcb96216cc840749c0ac2","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-07-25T16:34:41Z","pushed_at":"2017-07-30T05:16:07Z","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":1922917,"stargazers_count":82,"watchers_count":82,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":649,"forks":14,"open_issues":649,"watchers":82,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"0ab16831aabdb727f777006b198fc0e8ec92d1ef","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-07-25T16:34:41Z","pushed_at":"2017-07-30T05:16:07Z","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":1922917,"stargazers_count":82,"watchers_count":82,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":649,"forks":14,"open_issues":649,"watchers":82,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/47682"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/47682"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/47682"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/47682/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/47682/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/47682/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/57d2b81f68dc5f062fbdcb96216cc840749c0ac2"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":32,"deletions":9,"changed_files":5}}
{"actor":{"display_login":"everypoliticianbot"}}