{"action":"opened","number":126391,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/126391","id":239749927,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NzQ5OTI3","html_url":"https://github.com/everypolitician/everypolitician-data/pull/126391","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/126391.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/126391.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/126391","number":126391,"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-1545207938'\n08:27:35 Validating CSVs\n08:27:37 Refetching sources/morph/wikidata.csv\n08:27:39 Refetching sources/wikidata/groups.json\n08:27:41 Refetching sources/wikidata/elections.json\n08:27:42 Add memberships from sources/morph/official.csv\n08:27:43 Merging with sources/morph/wikidata.csv\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  ☁ Mismatch in birth_date for f21186ce-1ab3-4018-8aa3-82505aec4774 (1952-03-12) vs 1952-03-18 (for Q56525609)\n\t* 198 of 559 unmatched\n\t{:id=>\"Q940032\", :name=>\"Васил Друмев\"}\n\t{:id=>\"Q12287960\", :name=>\"Начо Начев\"}\n\t{:id=>\"Q20498916\", :name=>\"Манчо Манев\"}\n\t{:id=>\"Q20498909\", :name=>\"Деньо Манев\"}\n\t{:id=>\"Q12299504\", :name=>\"Юлиан Ангелов\"}\n\t{:id=>\"Q19204127\", :name=>\"Сотир Антониади\"}\n\t{:id=>\"Q462811\", :name=>\"Петко Каравелов\"}\n\t{:id=>\"Q310630\", :name=>\"Иван Вазов\"}\n\t{:id=>\"Q893795\", :name=>\"Борис Вазов\"}\n\t{:id=>\"Q12293794\", :name=>\"Симо Соколов\"}\n08:27:45 Merging with sources/morph/genderbalance.csv\n  ☁ Mismatch in gender for c0594533-68d0-45df-ab27-720365a9c00f (male) vs female (for )\n08:27:46 Generating legacy_id file\n08:27:46 Verifying sources/merged.csv\n08:27:47 Converting to Popolo\n08:27:48 Creating termfiles\n08:27:50 Creating names.csv\n08:27:51 Creating unstable/positions.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\n  † position filter contains non-cabinet positions (4) — run rake generate:cabinet\n  ⁕ skipped 5 x Q30185 (mayor) — e.g. Q12281254\n  ⁕ skipped 1 x Q28784183 (Director-General of UNESCO) — e.g. Q230850\n  ⁕ skipped 1 x Q25478063 () — e.g. Q12279375\n------------------------------------------------------------------------\nPersons matched to Wikidata: 361 ✓ | 745 ✘\n  No wikidata: ГЕРГАНА ЖЕЛЯЗКОВА СТЕФАНОВА (81114613-6381-41cc-9fee-4f2b7c577b6e)\n  No wikidata: ГЕОРГИ НИКОЛОВ НЕДЕВ (9e56ac2a-9ba6-42c2-b108-e064a515c9af)\n  No wikidata: ДИМИТЪР АНГЕЛОВ ИВАНОВ (f9a5564d-30d0-47e2-9523-73148c9e8638)\n  No wikidata: АТАНАС ИВАНОВ ТАШКОВ (c095bc16-d3e2-43bf-a647-25b43a22e0a6)\n  No wikidata: ПЛАМЕН ТРИФОНОВ ХРИСТОВ (36db04ac-cf20-47e6-a4a5-b5829677a98d)\n  No wikidata: КАЛИН ИВАНОВ МИЛЧЕВ (6af75585-854f-4983-9ed1-7bf74439a495)\n  No wikidata: НИКОЛАЙ ЦВЕТАНОВ ЧУКАНОВ (ca028fef-d79c-4c12-af1e-48aea1788fcc)\n  No wikidata: ИВАН ПЕТКОВ ДАКОВ (e09dd453-b5de-43bd-9a8d-69e8078aaf28)\n  No wikidata: МАРИЯ СТАНЧЕВА ВЪЛКАНОВА (a24d7434-3ca1-48c4-97d3-e51dab585733)\n  No wikidata: ЕВГЕНИЙ ВАСИЛЕВ УЗУНОВ (4c4efb30-19e6-4b79-a15a-071dfe061699)\nAreas matched to Wikidata: 0 ✓ | 31 ✘\nParties matched to Wikidata: 37 ✓ \nTerms matched to Wikidata: 6 ✓ \n  ☢  morph/official.csv has not been updated for 127 days\n  ☢  morph/cabinet.csv has not been updated for 365 days\n[bulgaria-national-assembly-1545207938 104de48] Bulgaria: Refresh from upstream changes\n 5 files changed, 221 insertions(+), 50 deletions(-)\nremote: \nremote: Create a pull request for 'bulgaria-national-assembly-1545207938' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/bulgaria-national-assembly-1545207938        \nremote: \n\n```","created_at":"2018-12-19T08:30:34Z","updated_at":"2018-12-19T08:30:34Z","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/126391/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/126391/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/126391/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/104de48f237b5e6cab9825c3894aa2655a50b91a","head":{"label":"everypolitician:bulgaria-national-assembly-1545207938","ref":"bulgaria-national-assembly-1545207938","sha":"104de48f237b5e6cab9825c3894aa2655a50b91a","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","private":false,"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},"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-12-18T12:55:09Z","pushed_at":"2018-12-19T08:30:31Z","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":2234442,"stargazers_count":123,"watchers_count":123,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":654,"license":null,"forks":24,"open_issues":654,"watchers":123,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"e4413f4b8e414161361e24fdfadd0c7ef1a8f36c","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","private":false,"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},"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-12-18T12:55:09Z","pushed_at":"2018-12-19T08:30:31Z","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":2234442,"stargazers_count":123,"watchers_count":123,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":654,"license":null,"forks":24,"open_issues":654,"watchers":123,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/126391"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/126391"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/126391"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/126391/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/126391/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/126391/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/104de48f237b5e6cab9825c3894aa2655a50b91a"}},"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":221,"deletions":50,"changed_files":5}}
{"actor":{"display_login":"everypoliticianbot"}}