{"action":"created","issue":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/121980","repository_url":"https://api.github.com/repos/everypolitician/everypolitician-data","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/121980/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/121980/comments","events_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/121980/events","html_url":"https://github.com/everypolitician/everypolitician-data/pull/121980","id":382436919,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMTQ2MjU3","number":121980,"title":"Portugal (Assembleia da República): refresh wikidata","user":{"login":"everypoliticianbot","id":12693984,"node_id":"MDQ6VXNlcjEyNjkzOTg0","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-19T23:34:21Z","updated_at":"2018-11-19T23:36:50Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/121980","html_url":"https://github.com/everypolitician/everypolitician-data/pull/121980","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/121980.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/121980.patch"},"body":"Automated refresh of wikidata for Portugal - Assembleia da República\n\n#### Output\n\n```\nSwitched to a new branch 'portugal-assembly-1542670191'\n23:31:23 Validating CSVs\n23:31:26 Refetching sources/morph/wikidata.csv\n23:31:27 Refetching sources/wikidata/groups.json\n23:31:28 Refetching sources/wikidata/elections.json\n23:31:30 Add memberships from sources/morph/centraldedados.csv\n23:31:30 Merging with sources/morph/democratica.csv\n23:31:30 Merging with sources/morph/wikidata.csv\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 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 8c03a520-aef9-46a9-8991-add035cbacc7 (1954-02-03) vs 1954-03-02 (for Q28973801)\n  ☁ Mismatch in birth_date for 0725e7d6-161e-4e69-9a3c-9b8b3ddbc407 (1950-03-23) vs 1867-04-19 (for Q357932)\n  ☁ Mismatch in birth_date for c092e452-1d2a-4fa4-a2e4-55a81c142759 (1949-09-23) vs 1950 (for Q482868)\n  ☁ Mismatch in birth_date for 8f9d2c5f-48f0-47f0-a448-2ae4d6745bee (1965-04-28) vs 1965-05-28 (for Q7155277)\n\t* 85 of 407 unmatched\n\t{:id=>\"Q24286982\", :name=>\"Osvaldo de Castro\"}\n\t{:id=>\"Q10346568\", :name=>\"Paulo Estêvão\"}\n\t{:id=>\"Q30934997\", :name=>\"Pedro Feist\"}\n\t{:id=>\"Q11768765\", :name=>\"Maria Carrilho\"}\n\t{:id=>\"Q56349036\", :name=>\"António Ventura\"}\n\t{:id=>\"Q1389840\", :name=>\"José Luís da Cruz Vilaça\"}\n\t{:id=>\"Q1692053\", :name=>\"Tomás da Fonseca\"}\n\t{:id=>\"Q318390\", :name=>\"Abel Botelho\"}\n\t{:id=>\"Q10381043\", :name=>\"Teófilo Carneiro\"}\n\t{:id=>\"Q57398\", :name=>\"Aníbal Cavaco Silva\"}\n23:31:33 Merging with sources/morph/genderbalance.csv\n23:31:33 Generating legacy_id file\n23:31:34 Verifying sources/merged.csv\n23:31:34 Converting to Popolo\n23:31:37 Creating termfiles\n23:31:40 Creating names.csv\n23:31:40 Creating unstable/positions.csv\n  ☇ No dates for Paulo Portas (Q58161) as Minister of Foreign Affairs\n  † position filter contains non-cabinet positions (1) — run rake generate:cabinet\n  ⁕ skipped 114 x Q19953703 (Member of the Assembly of the Republic) — e.g. Q10272128\n  ⁕ skipped 57 x Q27169 (member of the European Parliament) — e.g. Q10281366\n  ⁕ skipped 41 x Q43185266 (deputy of the Constituent Assembly) — e.g. Q10294464\n------------------------------------------------------------------------\nPersons matched to Wikidata: 322 ✓ | 1847 ✘\n  No wikidata: Inês Domingos (70808dbe-dcd0-4e11-8019-5de0c37a4f6f)\n  No wikidata: António Fernando Costa (d8230075-39d3-4235-a0f6-e521c16274d3)\n  No wikidata: Sérgio Simões (5c47034d-7c0e-4635-adc4-eadbc3f9b78d)\n  No wikidata: Cristóvão Guerreiro Norte (375504a0-18c5-4fc7-81b5-29c700ac50c5)\n  No wikidata: Paulo Trindade (a87f9892-f584-4097-9938-06beb407ac24)\n  No wikidata: Manuel Melo Santos (384057ce-696e-467e-87ea-a7ff75a3d1f9)\n  No wikidata: José Meireles (143865b0-2f65-45c4-b478-7bf7e0b576af)\n  No wikidata: Afonso Lobão (646a9447-8641-4c19-a218-3aac2b44664e)\n  No wikidata: Nilza de Sena (aa60aac6-723e-454a-9a19-62491c5d9d9e)\n  No wikidata: Bruno Veloso (20aeeb3e-cbc7-4207-86bb-48ac99f42400)\nAreas matched to Wikidata: 20 ✓ | 3 ✘\n  No wikidata: Desconhecido (desconhecido)\n  No wikidata: Europa (europa)\n  No wikidata: Fora da Europa (fora_da_europa)\nParties matched to Wikidata: 17 ✓ | 1 ✘\n  No wikidata: DESC (desc)\nTerms matched to Wikidata: 12 ✓ \n  ☢  morph/democratica.csv has not been updated for 609 days\n  ☢  wikidata/elections.json has not been updated for 105 days\n[portugal-assembly-1542670191 bf7f33f] Portugal: Refresh from upstream changes\n 11 files changed, 647 insertions(+), 616 deletions(-)\nremote: \nremote: Create a pull request for 'portugal-assembly-1542670191' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/portugal-assembly-1542670191        \nremote: \n\n```"},"comment":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/comments/440081716","html_url":"https://github.com/everypolitician/everypolitician-data/pull/121980#issuecomment-440081716","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/121980","id":440081716,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDA4MTcxNg==","user":{"login":"everypoliticianbot","id":12693984,"node_id":"MDQ6VXNlcjEyNjkzOTg0","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},"created_at":"2018-11-19T23:36:50Z","updated_at":"2018-11-19T23:36:50Z","author_association":"MEMBER","body":"\n\nSummary of changes in `data/Portugal/Assembly/ep-popolo-v1.0.json`:\n\n## People\n\n### Added\n\n\nNo people added\n\n\n### Removed\n\n\nNo people removed\n\n\n### Name Changes\n\n\nNo name changes\n\n\n### Additional Name Changes\n\n\n\n- `1e719e4f-eb02-47d8-b480-512f6eb3fe2b` (Domingos Pereira): Removed: Domingos Leite Pereira. \n\n- `44603fda-6180-4193-841e-d6ffcb57c2c1` (António Vitorino): Added: أنطونيو فيتورينو.\n\n- `5c3180be-2bb9-4956-a691-190d4c0e5877` (Álvaro Castelo Branco): Added: Álvaro Castello-Branco.\n\n- `62694876-2dc1-4ad0-901c-f874553d20cb` (Pedro Santana Lopes): Added: بيدرو سانتانا لوبيس.\n\n- `b3c729ff-99d6-47e6-8cda-7e043c4c9461` (João Portugal): Removed: João of. \n\n- `e935adda-3a33-4671-943f-a8901bc50b63` (Isabel Pires de Lima): Added: إيزابيل بيريس دي ليما.\n\n- `ede02e68-85eb-4193-8627-7958d3a8a15d` (Paulo Portas): Added: باولو بورتاس.\n\n\n\n### Wikidata Changes\n\n\n\n- `0a9700bc-31ed-4928-8519-592d99e4c4af`: Q1339831 → none\n\n- `1e719e4f-eb02-47d8-b480-512f6eb3fe2b`: Q1237519 → none\n\n- `eabe72ee-4608-4a15-879d-f5dee9546515`: Q23836571 → none\n\n\n\n## Organizations\n\n### Added\n\n\nNo organizations added\n\n\n### Removed\n\n\nNo organizations removed\n\n\n## Memberships\n\n### Added\n\nNo memberships added\n\n\n### Removed\n\nNo memberships removed\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"}}
{"actor":{"display_login":"everypoliticianbot"}}