{"action":"closed","number":122944,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/122944","id":233824923,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzODI0OTIz","html_url":"https://github.com/everypolitician/everypolitician-data/pull/122944","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/122944.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/122944.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/122944","number":122944,"state":"closed","locked":false,"title":"Japan (Shūgiin): 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 Japan - Shūgiin\n\n#### Output\n\n```\nSwitched to a new branch 'japan-house-of-representatives-1543308327'\n08:47:37 Validating CSVs\n08:47:39 Refetching sources/morph/wikidata.csv\n08:47:41 Refetching sources/wikidata/groups.json\n08:47:43 Refetching sources/wikidata/elections.json\n08:47:45 Add memberships from sources/morph/official-48.csv\n08:47:45 Add memberships from sources/archive/official-47.csv\n08:47:45 Add memberships from sources/archive/official-vanished.csv\n08:47:45 Merging with sources/morph/wikidata.csv\n\t* 266 of 770 unmatched\n\t{:id=>\"Q27150379\", :name=>\"Shin'ya Fujiki\"}\n\t{:id=>\"Q11539458\", :name=>\"Hiroshi Moriya\"}\n\t{:id=>\"Q507405\", :name=>\"Tetsuro Fukuyama\"}\n\t{:id=>\"Q361715\", :name=>\"Yoshimi Watanabe\"}\n\t{:id=>\"Q5770256\", :name=>\"Hirokazu Shiba\"}\n\t{:id=>\"Q6845319\", :name=>\"Miho Takahashi\"}\n\t{:id=>\"Q534539\", :name=>\"Eriko Yamatani\"}\n\t{:id=>\"Q6782783\", :name=>\"Masayoshi Hamada\"}\n\t{:id=>\"Q17219667\", :name=>\"Iwao Horii\"}\n\t{:id=>\"Q465083\", :name=>\"Shinkun Haku\"}\n08:47:49 Merging with sources/morph/genderbalance.csv\n08:47:49 Generating legacy_id file\n08:47:50 Verifying sources/merged.csv\n08:47:50 Converting to Popolo\n08:47:52 Creating termfiles\n08:47:53 Creating names.csv\n08:47:54 Creating unstable/positions.csv\n  ☇ No dates for OZAWA Ichiro (Q459998) as Minister of Home Affairs\n  ☇ No dates for OKADA Katsuya (Q513317) as Minister for Foreign Affairs\n  ☇ No dates for SHIBAYAMA Masahiko (Q6782350) as Minister of Education, Culture, Sports, Science and Technology of Japan\n  ☇ No dates for KOMURA Masahiko (Q697969) as Minister of Defense of Japan\n  ⁕ skipped 19 x Q1078482 (Chief Cabinet Secretary) — e.g. Q101137\n  ⁕ skipped 7 x Q11595924 (Q11595924) — e.g. Q212305\n  ⁕ skipped 5 x Q1575411 (Chairman of the National Public Safety Commission) — e.g. Q1133360\n------------------------------------------------------------------------\nPersons matched to Wikidata: 504 ✓ | 63 ✘\n  No wikidata: KAWANO Masami (de9135fc-190b-4b6f-9a69-f3e2ead8edd2)\n  No wikidata: AKAEDA Tsuneo (c47a30fb-72f7-4d65-9a62-60fd908a5eaa)\n  No wikidata: MUTO Takaya (af861c64-140f-462f-9b1e-b10d6fb606d0)\n  No wikidata: SHIIKI Tamotsu (f714d4d5-65ce-4994-b89a-4abfd57aa803)\n  No wikidata: UENISHI Sayuri (07e455aa-3370-4680-9fc2-e7803f21c828)\n  No wikidata: TAJIMA Issei (100cfa07-038e-4a67-8336-30094d16e6b7)\n  No wikidata: SHIMIZU Tadashi (bf7cd2ba-160d-4af1-9bbd-77b7ce2d8e72)\n  No wikidata: MASUTA Sekio (cedea866-6636-4642-9fe3-43f87f9944c1)\n  No wikidata: MAEKAWA Megumi (b969f7e2-22ee-430e-97df-1f37a2159b13)\n  No wikidata: NAGASAKI Kotaro (5682735a-1ff3-4e10-a643-1a4e6c005113)\nAreas matched to Wikidata: 297 ✓ | 10 ✘\n  No wikidata: Tokai Bloc (tokai_bloc)\n  No wikidata: Shikoku Bloc (shikoku_bloc)\n  No wikidata: Minami Kanto Bloc (minami_kanto_bloc)\n  No wikidata: Kita Kanto Bloc (kita_kanto_bloc)\n  No wikidata: Kyushu Bloc (kyushu_bloc)\n  No wikidata: Chiba 10th District (chiba_10th_district)\n  No wikidata: Hokuriku-Shinetsu Bloc (hokuriku-shinetsu_bloc)\n  No wikidata: Chugoku Bloc (chugoku_bloc)\n  No wikidata: Kinki Bloc (kinki_bloc)\n  No wikidata: Tohoku Bloc (tohoku_bloc)\nParties matched to Wikidata: 11 ✓ | 1 ✘\n  No wikidata: * (*)\nTerms matched to Wikidata: 2 ✓ \n[japan-house-of-representatives-1543308327 e8f5135] Japan: Refresh from upstream changes\n 5 files changed, 236 insertions(+), 18 deletions(-)\nremote: \nremote: Create a pull request for 'japan-house-of-representatives-1543308327' on GitHub by visiting:        \nremote:      https://github.com/everypolitician/everypolitician-data/pull/new/japan-house-of-representatives-1543308327        \nremote: \n\n```","created_at":"2018-11-27T08:51:25Z","updated_at":"2018-11-27T10:57:28Z","closed_at":"2018-11-27T10:57:28Z","merged_at":"2018-11-27T10:57:28Z","merge_commit_sha":"a9d0129cd2ac0eb02d6cd4391ffe51d21e6afa80","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/122944/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/122944/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/122944/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/e8f51355e80d8e239cda11a3f903c94e0ed45529","head":{"label":"everypolitician:japan-house-of-representatives-1543308327","ref":"japan-house-of-representatives-1543308327","sha":"e8f51355e80d8e239cda11a3f903c94e0ed45529","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-11-27T10:56:54Z","pushed_at":"2018-11-27T10:57:28Z","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":2219683,"stargazers_count":120,"watchers_count":120,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":531,"license":null,"forks":23,"open_issues":531,"watchers":120,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"9bdb58e9302c14efa588801fff21348ca30a95e0","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-11-27T10:56:54Z","pushed_at":"2018-11-27T10:57:28Z","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":2219683,"stargazers_count":120,"watchers_count":120,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":531,"license":null,"forks":23,"open_issues":531,"watchers":120,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/122944"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/122944"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/122944"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/122944/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/122944/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/122944/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/e8f51355e80d8e239cda11a3f903c94e0ed45529"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tmtmtmtm","id":57483,"node_id":"MDQ6VXNlcjU3NDgz","avatar_url":"https://avatars2.githubusercontent.com/u/57483?v=4","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":236,"deletions":18,"changed_files":5}}
{"actor":{"display_login":"tmtmtmtm"}}