{"action":"opened","number":127281,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/127281","id":240665472,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNjY1NDcy","html_url":"https://github.com/everypolitician/everypolitician-data/pull/127281","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/127281.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/127281.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/127281","number":127281,"state":"open","locked":false,"title":"Bhutan (National Assembly): refresh official","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 official for Bhutan - National Assembly\n\n#### Output\n\n```\nSwitched to a new branch 'bhutan-assembly-1545539934'\n04:40:55 Validating CSVs\n04:40:56 Refetching sources/morph/official.csv\n04:40:56 Add memberships from sources/morph/official.csv\n104 -> d315fafb-9bd1-4d03-a374-efe944410e54\n105 -> af35600c-3630-4935-a31f-e461d9f26d4b\n106 -> ea8e15f7-4636-4fb9-b099-7b88d06aa59a\n107 -> f314f9e4-0e83-458f-a109-737ca2cc4e7b\n108 -> d3b4cea6-3cd2-4fa7-974d-a238d6d3b3a9\n109 -> 35298e9b-0f72-441d-b675-8ba8e6de1cdc\n110 -> 3f81245c-a3bb-417d-95df-29b0abdc9c5e\n111 -> dd6fad95-a84b-49fd-b1b6-bbd90ea6855e\n112 -> dfaab0f7-e840-43f0-814f-60688d252918\n113 -> 2664867d-aa37-48cd-83a6-e68b503d618a\n114 -> b8f280b9-b197-4bf4-b664-d1ff337027a3\n115 -> ea033fcd-07cd-4851-8648-2242e5038f10\n116 -> 50128f47-55dd-49f0-ada8-f947d445178e\n117 -> ae070e0a-5257-467c-a19a-c3fef4f71624\n118 -> 960dffcb-58d5-41ce-9af8-263f4d623e42\n119 -> 9cbf43b2-5852-4547-a4e4-e7fa0e5ea65f\n120 -> 2c9891c1-4670-4b7b-864d-b5f7189470bb\n121 -> 0d2e8721-e921-45d9-8429-b7734a5bacb8\n122 -> 46489eff-ced0-44d1-9bd9-f2c61aeec184\n123 -> b44e6fce-d9b8-4aa9-bb52-cf5912b6ed70\n124 -> 3841ecca-5b97-45a4-a9f8-b38c36c6823f\n04:40:56 Add memberships from sources/archive/official-ceased.csv\n04:40:56 Merging with sources/morph/wikidata.csv\n\t* 31 of 32 unmatched\n\t{:id=>\"Q863955\", :name=>\"Sonam Topgay Dorji\"}\n\t{:id=>\"Q864275\", :name=>\"Lhendup Dorji\"}\n\t{:id=>\"Q58813011\", :name=>\"Loknath Sharma\"}\n\t{:id=>\"Q58806797\", :name=>\"Dechen Wangmo\"}\n\t{:id=>\"Q21063384\", :name=>\"Dechen Zangmo\"}\n\t{:id=>\"Q57313851\", :name=>\"Lotay Tshering\"}\n\t{:id=>\"Q58422562\", :name=>\"Tandi Dorji\"}\n\t{:id=>\"Q21934258\", :name=>\"Jigme Wangchuk\"}\n\t{:id=>\"Q20676510\", :name=>\"Dupthob\"}\n\t{:id=>\"Q374296\", :name=>\"Sangay Ngedup\"}\n04:40:56 Merging with sources/morph/genderbalance.csv\n\t* 47 of 48 unmatched\n04:40:56 Generating legacy_id file\n04:40:56 Verifying sources/merged.csv\n04:40:56 Converting to Popolo\nParty PDP not in Popolo\n04:40:56 Creating termfiles\n04:40:56 Creating names.csv\n------------------------------------------------------------------------\nPersons matched to Wikidata: 1 ✓ | 21 ✘\n  No wikidata: Yeshey Penjor (dd6fad95-a84b-49fd-b1b6-bbd90ea6855e)\n  No wikidata: Dr. Tandi Dorji (f314f9e4-0e83-458f-a109-737ca2cc4e7b)\n  No wikidata: Ugen Tenzin (3841ecca-5b97-45a4-a9f8-b38c36c6823f)\n  No wikidata: Tshencho Wangdi (ae070e0a-5257-467c-a19a-c3fef4f71624)\n  No wikidata: Yeshey Dem (46489eff-ced0-44d1-9bd9-f2c61aeec184)\n  No wikidata: Hemant Gurung (0d2e8721-e921-45d9-8429-b7734a5bacb8)\n  No wikidata: Jai Bir Rai (35298e9b-0f72-441d-b675-8ba8e6de1cdc)\n  No wikidata: Ugyen Dorji (ea033fcd-07cd-4851-8648-2242e5038f10)\n  No wikidata: Jurmi Wangchuk (2c9891c1-4670-4b7b-864d-b5f7189470bb)\n  No wikidata: Namgay Tshering (b8f280b9-b197-4bf4-b664-d1ff337027a3)\nAreas matched to Wikidata: 0 ✓ | 21 ✘\nParties matched to Wikidata: 1 ✓ | 1 ✘\n  No wikidata: Druk Nyamrup Tshogpa (DNT)\nTerms matched to Wikidata: 0 ✓ | 1 ✘\n  ☢  morph/official.csv has not been updated for 545 days\n  ☢  morph/genderbalance.csv has not been updated for 160 days (Missing 21)\n[bhutan-assembly-1545539934 c344646] Bhutan: Refresh from upstream changes\n 7 files changed, 1200 insertions(+), 3328 deletions(-)\n rewrite data/Bhutan/Assembly/ep-popolo-v1.0.json (74%)\n rewrite data/Bhutan/Assembly/names.csv (98%)\n rewrite data/Bhutan/Assembly/sources/morph/official.csv (99%)\n rewrite data/Bhutan/Assembly/term-2.csv (96%)\n rewrite data/Bhutan/Assembly/unstable/latest.csv (96%)\nremote: \nremote: Create a pull request for 'bhutan-assembly-1545539934' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/bhutan-assembly-1545539934        \nremote: \n\n```","created_at":"2018-12-23T04:43:48Z","updated_at":"2018-12-23T04:43:48Z","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/127281/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/127281/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/127281/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/c344646bb131e33ee572dc405b2056e35adbf584","head":{"label":"everypolitician:bhutan-assembly-1545539934","ref":"bhutan-assembly-1545539934","sha":"c344646bb131e33ee572dc405b2056e35adbf584","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-23T03:29:08Z","pushed_at":"2018-12-23T04:43:44Z","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":2238950,"stargazers_count":124,"watchers_count":124,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":654,"license":null,"forks":26,"open_issues":654,"watchers":124,"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-23T03:29:08Z","pushed_at":"2018-12-23T04:43:44Z","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":2238950,"stargazers_count":124,"watchers_count":124,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":654,"license":null,"forks":26,"open_issues":654,"watchers":124,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/127281"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/127281"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/127281"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/127281/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/127281/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/127281/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/c344646bb131e33ee572dc405b2056e35adbf584"}},"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":568,"deletions":2696,"changed_files":7}}
{"actor":{"display_login":"everypoliticianbot"}}