payload: {"action":"closed","number":140296,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/140296","id":257245096,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU3MjQ1MDk2","html_url":"https://github.com/everypolitician/everypolitician-data/pull/140296","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/140296.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/140296.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/140296","number":140296,"state":"closed","locked":false,"title":"Latvia (Saeima): 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 Latvia - Saeima\n\n#### Output\n\n```\nSwitched to a new branch 'latvia-saeima-1551391238'\n22:01:57 Validating CSVs\n22:01:57 Refetching sources/morph/wikidata.csv\n22:01:58 Refetching sources/wikidata/groups.json\n22:01:59 Refetching sources/wikidata/elections.json\n22:02:00 Adding memberships from sources/morph/official-12.csv\n22:02:00 Adding memberships from sources/morph/official-11.csv\n22:02:00 Adding memberships from sources/morph/official-10.csv\n22:02:00 Merging with sources/morph/wikidata.csv\n\t* 26 of 232 unmatched\n\t{:id=>\"Q11692641\", :name=>\"Dainis Liepiņš\"}\n\t{:id=>\"Q58371452\", :name=>\"Dagmāra Beitnere-Le Galla\"}\n\t{:id=>\"Q16358722\", :name=>\"Juta Strīķe\"}\n\t{:id=>\"Q3191217\", :name=>\"Jānis Bordāns\"}\n\t{:id=>\"Q57506\", :name=>\"Andris Bērziņš\"}\n\t{:id=>\"Q56087971\", :name=>\"Aldis Gobzems\"}\n\t{:id=>\"Q21279413\", :name=>\"Juris Pūce\"}\n\t{:id=>\"Q3015072\", :name=>\"Daniels Pavļuts\"}\n\t{:id=>\"Q58371507\", :name=>\"Ramona Petraviča\"}\n\t{:id=>\"Q2576403\", :name=>\"Aigars Štokenbergs\"}\n22:02:01 Merging with sources/morph/genderbalance.csv\n22:02:01 Generating legacy_id file\n22:02:01 Verifying sources/merged.csv\n22:02:01 Converting to Popolo\n22:02:01 Adding term information\n22:02:01 Adding election information\n22:02:01 Adding party information\n22:02:01 Creating termfiles\n *** latest term ended on 2018-11-06 *** \n22:02:02 Creating names.csv\n22:02:02 Creating unstable/positions.csv\n  ⁕ skipped 1 x Q7330070 (foreign minister) — e.g. Q984021\n  ⁕ skipped 1 x Q957986 (European Commissioner for Agriculture and Rural Development) — e.g. Q236968\n  ⁕ skipped 1 x Q57125919 (Foreign Minister) — e.g. Q236968\n------------------------------------------------------------------------\nPersons matched to Wikidata: 206 ✓ | 7 ✘\n  No wikidata: Andris Berzins (Vidzeme) (20594057-32b1-4869-a811-986a58dee5ae)\n  No wikidata: Juris Žūriņš (ad45bbcf-4f90-4875-9f7d-7248e780be1d)\n  No wikidata: Andris Berzins (Riga) (b0a6660c-5f34-4adb-808b-b187bafaeb56)\n  No wikidata: Aivars Dronka (2d0f9234-4f5a-4ef2-a080-2e8259ac52eb)\n  No wikidata: Didzis Zemmers (90569582-12be-40bb-b32c-b1fd330d237f)\n  No wikidata: Dzintra Hirsa (0cf7ef0e-c4b7-4069-b55f-0c6ee91b06c9)\n  No wikidata: Andris Berzins (Zemgale) (99991e53-3255-41c0-963b-87f0f193a386)\nAreas matched to Wikidata: 0 ✓ \nParties matched to Wikidata: 12 ✓ | 1 ✘\n  No wikidata: Concord Centre (concord_centre)\nTerms matched to Wikidata: 3 ✓ \n  ☢  morph/official-12.csv has not been updated for 104 days\n  ☢  morph/official-11.csv has not been updated for 889 days\n  ☢  morph/official-10.csv has not been updated for 889 days\n  ☢  morph/terms.csv has not been updated for 105 days\n  ☢  morph/cabinet.csv has not been updated for 142 days\n[latvia-saeima-1551391238 6d64be1] Latvia: Refresh from upstream changes\n 2 files changed, 6 insertions(+), 2 deletions(-)\nremote: \nremote: Create a pull request for 'latvia-saeima-1551391238' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/latvia-saeima-1551391238        \nremote: \n\n```","created_at":"2019-02-28T22:03:31Z","updated_at":"2019-03-01T09:02:38Z","closed_at":"2019-03-01T09:02:38Z","merged_at":null,"merge_commit_sha":"03258905dcc6373a18a3a60bcda4494badaa5ab3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":456036742,"node_id":"MDU6TGFiZWw0NTYwMzY3NDI=","url":"https://api.github.com/repos/everypolitician/everypolitician-data/labels/source:%20Wikidata","name":"source: Wikidata","color":"c5def5","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/140296/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/140296/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/140296/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/6d64be111baa610f5e0817854ccd067a12987241","head":{"label":"everypolitician:latvia-saeima-1551391238","ref":"latvia-saeima-1551391238","sha":"6d64be111baa610f5e0817854ccd067a12987241","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":"2019-03-01T08:45:27Z","pushed_at":"2019-03-01T08:59:58Z","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":2476462,"stargazers_count":131,"watchers_count":131,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":607,"license":null,"forks":30,"open_issues":607,"watchers":131,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"5f3974f634173463eb64a90c40bd07b586a74061","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":"2019-03-01T08:45:27Z","pushed_at":"2019-03-01T08:59:58Z","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":2476462,"stargazers_count":131,"watchers_count":131,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":607,"license":null,"forks":30,"open_issues":607,"watchers":131,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/140296"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/140296"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/140296"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/140296/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/140296/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/140296/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/6d64be111baa610f5e0817854ccd067a12987241"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":6,"deletions":2,"changed_files":2}}
other: {"actor":{"display_login":"everypoliticianbot"}}