{"action":"opened","number":29282,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/29282","id":112378600,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/29282","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/29282.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/29282.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/29282","number":29282,"state":"open","locked":false,"title":"Estonia (Riigikogu): refresh wikidata","user":{"login":"everypoliticianbot","id":12693984,"avatar_url":"https://avatars0.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 refresh of wikidata for Estonia - Riigikogu\n\n#### Output\n\n```\nSwitched to a new branch 'estonia-riigikogu-1490323851'\nAdd memberships from sources/google/sheet-13.csv\nAdd memberships from sources/google/sheet-12.csv\nMerging with sources/morph/official.csv\nData Mismatches\n* 18 of 122 unmatched\n\t{:id=>\"24ddd323-b871-400f-9649-7aa6e76a260d\", :name=>\"Inara Luigas\"}\n\t{:id=>\"47201a8e-4ae7-45fa-8659-b47930d6f99c\", :name=>\"Taavi Rõivas\"}\n\t{:id=>\"587e9a85-08b6-4045-b49a-7a8d6e3dc940\", :name=>\"Eevi Paasmäe\"}\n\t{:id=>\"fe748f4d-3f50-4af8-8069-92a460978d2b\", :name=>\"Arto Aas\"}\n\t{:id=>\"99f436f3-ea77-4e40-9b8a-05e2cc92b8a5\", :name=>\"Toomas Väinaste\"}\n\t{:id=>\"c0c7bea2-4c5e-4295-9c0f-dca52d602098\", :name=>\"Jürgen Ligi\"}\n\t{:id=>\"149dab3f-f850-4eb3-bf03-0890ce9090c1\", :name=>\"Marko Šorin\"}\n\t{:id=>\"4a332fbb-be05-4cb2-b6a0-5916eb40fe89\", :name=>\"Urmas Kruuse\"}\n\t{:id=>\"cf42a56a-b91a-4a51-913b-a489305326a2\", :name=>\"Hanno Pevkur\"}\n\t{:id=>\"5bf1116f-2e60-4a46-927a-e6aade9bebf9\", :name=>\"Tiina Kangro\"}\nMerging with sources/morph/wikidata.csv\nData Mismatches\n  ☁ Mismatch in birth_date for 58fb9435-5e48-4be6-bf1d-b4215f42fcec (2962-03-21) vs 1962-03-21 (for Q12369884)\n  ☁ Mismatch in birth_date for e6279173-c122-46a0-a4e1-0155c8df817c (1975-07-02) vs 1975-07-12 (for Q1789192)\nMerging with sources/morph/twitter.csv\nData Mismatches\n* 35 of 73 unmatched\n\t{:id=>\"68819846\", :name=>\"The Baltic Times\"}\n\t{:id=>\"24698180\", :name=>\"Estonian MFA\"}\n\t{:id=>\"47637628\", :name=>\"Ülle Madise\"}\n\t{:id=>\"116674439\", :name=>\"Riigikogu\"}\n\t{:id=>\"176842974\", :name=>\"Estonian News\"}\n\t{:id=>\"26450793\", :name=>\"Anto Liivat\"}\n\t{:id=>\"37260683\", :name=>\"Piraadipartei\"}\n\t{:id=>\"17286539\", :name=>\"Eesti Ekspress\"}\n\t{:id=>\"270018794\", :name=>\"Derjugina Sofja\"}\n\t{:id=>\"38627458\", :name=>\"Meelis Mandel\"}\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 168; 0 added\n\nGenderBalance Mismatches\n    ☁ Mismatch for f762351d-893e-4956-8715-779ed8fb2e70 Terje Trei (Was: male | GB: female)\n\nTop identifiers:\n  210 x wikidata\n  104 x riigikogu\n  51 x freebase\n  33 x viaf\n  17 x gnd\n\nCreating names.csv\n  ☇ No dates for Mihhail Korb (Q16404020) as Minister of Agriculture\nPersons matched to Wikidata: 210 ✓ \nParties matched to Wikidata: 7 ✓ \nAreas matched to Wikidata: 12 ✓ \n[estonia-riigikogu-1490323851 c3ae6ba] Estonia: Refresh from upstream changes\n 4 files changed, 42 insertions(+), 5 deletions(-)\n\n```","created_at":"2017-03-24T02:54:11Z","updated_at":"2017-03-24T02:54:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/29282/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/29282/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/29282/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/c3ae6ba3689119f0bfa5c80ea620905f276862f8","head":{"label":"everypolitician:estonia-riigikogu-1490323851","ref":"estonia-riigikogu-1490323851","sha":"c3ae6ba3689119f0bfa5c80ea620905f276862f8","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars1.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://avatars1.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":"2017-03-16T22:01:30Z","pushed_at":"2017-03-24T02:53: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":1447450,"stargazers_count":72,"watchers_count":72,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":604,"forks":10,"open_issues":604,"watchers":72,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"5698619867feea460882e31c7f1998e78ba11c51","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars1.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://avatars1.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":"2017-03-16T22:01:30Z","pushed_at":"2017-03-24T02:53: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":1447450,"stargazers_count":72,"watchers_count":72,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":604,"forks":10,"open_issues":604,"watchers":72,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/29282"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/29282"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/29282"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/29282/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/29282/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/29282/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/c3ae6ba3689119f0bfa5c80ea620905f276862f8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":42,"deletions":5,"changed_files":4}}
{"actor":{"display_login":"everypoliticianbot"}}