{"action":"opened","number":102813,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/102813","id":199914501,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTE0NTAx","html_url":"https://github.com/everypolitician/everypolitician-data/pull/102813","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/102813.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/102813.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/102813","number":102813,"state":"open","locked":false,"title":"Bulgaria (National Assembly): 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},"body":"Automated refresh of wikidata for Bulgaria - National Assembly\n\n#### Output\n\n```\nSwitched to a new branch 'bulgaria-national-assembly-1530999054'\n⤈ No ORDER BY for sources/morph/wikidata.csv\nAdd memberships from sources/morph/official.csv\nMerging with sources/morph/wikidata.csv\nData Mismatches\n  ☁ Mismatch in birth_date for be3e6707-11ad-48c0-b440-41e217464247 (1945-07-15) vs 1945-06-15 (for Q12273947)\n  ☁ Mismatch in birth_date for ec5a7066-942e-4b2d-826a-724376fe9381 (1954-06-05) vs 1956-06-05 (for Q12276107)\n  ☁ Mismatch in birth_date for e7bf97b0-d4ae-42a3-a5a0-dd83e4c62783 (1956-10-05) vs 1956-09-05 (for Q12282211)\n  ☁ Mismatch in birth_date for 26bcec3a-0c29-4ddc-a5d1-b820cbd6e071 (1949-09-15) vs 1949-01-27 (for Q12290429)\n* 100 of 449 unmatched\n\t{:id=>\"Q523488\", :name=>\"Константин Стоилов\"}\n\t{:id=>\"Q41805834\", :name=>\"Арлин Антонов\"}\n\t{:id=>\"Q4714887\", :name=>\"Александър Сталийски\"}\n\t{:id=>\"Q12282472\", :name=>\"Камелия Касабова\"}\n\t{:id=>\"Q1961022\", :name=>\"Васил Кънчов\"}\n\t{:id=>\"Q1060355\", :name=>\"Симеон Сакскобургготски\"}\n\t{:id=>\"Q2477881\", :name=>\"Валери Петров\"}\n\t{:id=>\"Q310630\", :name=>\"Иван Вазов\"}\n\t{:id=>\"Q1672913\", :name=>\"Никола Петков\"}\n\t{:id=>\"Q43358075\", :name=>\"Кръстина Таскова\"}\nMerging with sources/morph/genderbalance.csv\nData Mismatches\n  ☁ Mismatch in gender for c0594533-68d0-45df-ab27-720365a9c00f (male) vs female (for )\n\nTop identifiers:\n  1103 x parliament_bg\n  349 x wikidata\n  58 x freebase\n  42 x viaf\n  40 x isni\n\nCreating names.csv\n  ☇ No dates for ИВАЙЛО ГЕОРГИЕВ КАЛФИН (Q1281454) as Minister of Foreign Affairs of Bulgaria\n  ☇ No dates for СОЛОМОН ИСАК ПАСИ (Q1371792) as Minister of Foreign Affairs of Bulgaria\n  ☇ No dates for ГЕОРГИ ГЕОРГИЕВ ПИРИНСКИ (Q1509254) as Minister of Foreign Affairs of Bulgaria\n  ☇ No dates for ИРИНА ГЕОРГИЕВА БОКОВА (Q230850) as Minister of Foreign Affairs of Bulgaria\n  ☇ No dates for НАДЕЖДА НИКОЛОВА МИХАЙЛОВА (Q432093) as Minister of Foreign Affairs of Bulgaria\n  ☇ No dates for МИЛЕН ЕМИЛОВ ВЕЛЧЕВ (Q504776) as Bulgarian finance minister\n  ☇ No dates for НИКОЛАЙ ЕВТИМОВ МЛАДЕНОВ (Q58106) as Minister of Foreign Affairs of Bulgaria\n  ☇ No dates for КРИСТИАН ИВАНОВ ВИГЕНИН (Q946742) as Minister of Foreign Affairs of Bulgaria\nPersons matched to Wikidata: 349 ✓ | 754 ✘\n  No wikidata: РОСЕН ЗЛАТАНОВ ВЛАДИМИРОВ (adbf3ece-708d-4d42-a2c2-4b6116da311c)\n  No wikidata: МАРИЯ ВАСИЛЕВА КАПОН (b0314df5-82f3-4ed7-ba07-2b11fce9178a)\n  No wikidata: ПЕТЪР ВЛАДИМИРОВ ДИМИТРОВ (1f225178-d09e-432d-b5b4-36f1a8b81ba4)\n  No wikidata: ИВАН АТАНАСОВ КОЛЧАКОВ (25d4c776-5aca-4bc9-93f9-e0397bf36d09)\n  No wikidata: ТОШО КОСТАДИНОВ ПЕЙКОВ (8197e229-9f28-407d-a675-1800bc55c208)\n  No wikidata: АНТОНИЙ ЙОРДАНОВ ЙОРДАНОВ (2893b967-f977-437c-ac49-af3f618c6e56)\n  No wikidata: ЕМИЛ ДИМИТРОВ РАЙНОВ (288b5082-5bbe-4158-8f4b-fcd1c2643b6c)\n  No wikidata: ЛАЛО ГЕОРГИЕВ КИРИЛОВ (ff092d32-517a-4841-ba26-a753f4e73d80)\n  No wikidata: НИКОЛА ПЕЙЧЕВ ХАДЖИЙСКИ (36a54c07-2b6a-412f-b93a-16aa5a3095d3)\n  No wikidata: ДОНЧО СТЕФАНОВ ЦОНЧЕВ (94c3e488-d3b4-4936-965a-665f608a3904)\nParties matched to Wikidata: 28 ✓ | 10 ✘\n  No wikidata: unknown (party/unknown)\n  No wikidata: Parliamentary Group “United Patriots” (parliamentary_group_“united_patriots”)\n  No wikidata: Parliamentary Group “BSP for Bulgaria” (parliamentary_group_“bsp_for_bulgaria”)\n  No wikidata: Non- members of Parliamentary Groups (non-_members_of_parliamentary_groups)\n  No wikidata: Parliamentary Group “Movement for Rights and Freedoms” (parliamentary_group_“movement_for_rights_and_freedoms”)\nAreas matched to Wikidata: 0 ✓ | 31 ✘\n[bulgaria-national-assembly-1530999054 1f1bd6f] Bulgaria: Refresh from upstream changes\n 9 files changed, 619 insertions(+), 537 deletions(-)\n\n```","created_at":"2018-07-07T21:35:26Z","updated_at":"2018-07-07T21:35:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/102813/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/102813/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/102813/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/1f1bd6f907786d4c2f6f10bec6b34f6581e0f0bb","head":{"label":"everypolitician:bulgaria-national-assembly-1530999054","ref":"bulgaria-national-assembly-1530999054","sha":"1f1bd6f907786d4c2f6f10bec6b34f6581e0f0bb","user":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","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,"node_id":"MDEwOlJlcG9zaXRvcnkzNDcyNTg2MQ==","name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","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":"data for national legislatures worldwide","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":"2018-07-07T17:52:10Z","pushed_at":"2018-07-07T21:34:03Z","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":1830535,"stargazers_count":110,"watchers_count":110,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":628,"license":null,"forks":20,"open_issues":628,"watchers":110,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"90d67b3716d8787f1790f43c2b0d20cc596922a3","user":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","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,"node_id":"MDEwOlJlcG9zaXRvcnkzNDcyNTg2MQ==","name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDk3Mjk4","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":"data for national legislatures worldwide","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":"2018-07-07T17:52:10Z","pushed_at":"2018-07-07T21:34:03Z","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":1830535,"stargazers_count":110,"watchers_count":110,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":628,"license":null,"forks":20,"open_issues":628,"watchers":110,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/102813"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/102813"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/102813"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/102813/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/102813/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/102813/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/1f1bd6f907786d4c2f6f10bec6b34f6581e0f0bb"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":619,"deletions":537,"changed_files":9}}
{"actor":{"display_login":"everypoliticianbot"}}