{"action":"opened","number":30858,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/30858","id":113808367,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/30858","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/30858.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/30858.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/30858","number":30858,"state":"open","locked":false,"title":"Vietnam (National Assembly): add cabinet source","user":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars1.githubusercontent.com/u/57483?v=3","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},"body":"Use a morph position scraper to generate the Cabinet data.\n\nPart of https://github.com/everypolitician/everypolitician/issues/562\n\n\n```\nAdd memberships from sources/morph/official.csv\nMerging with sources/morph/wikidata.csv\nData Mismatches\n  ☁ Mismatch in birth_date for 04d91bab-adeb-4c12-8445-614d6e15af82 (1956-05-25) vs 1959-05-25 (for Q10744338)\n  ☁ Mismatch in birth_date for e251bfc6-140f-4587-9700-ada6c7db14d9 (1953-04-08) vs 1953-04-18 (for Q10798976)\n  ☁ Mismatch in gender for 32fecf2a-49bb-49b5-86be-21f65d6c204f (female) vs male (for Q10799702)\n  ☁ Mismatch in birth_date for 558f0980-9097-4d69-9a94-dfa18df7e311 (1959-03-26) vs 1959-08-03 (for Q10806892)\n  ☁ Mismatch in birth_date for 3b344482-37a0-42a6-ba0b-9cbae17d0c13 (1954-09-24) vs 1940 (for Q10833944)\n  ☁ Mismatch in birth_date for c9f4c75b-16dc-4299-9c06-6c7a208c03e8 (1957-03-15) vs 1958 (for Q2595973)\n  ☁ Mismatch in birth_date for 29af626b-98fb-4245-b536-21f2b4ead2c5 (1957-06-20) vs 1908 (for Q5974373)\n* 836 of 1204 unmatched\n\t{:id=>\"Q10742876\", :name=>\"Bùi Đình Phái\"}\n\t{:id=>\"Q10799141\", :name=>\"Nguyễn Hồng Lĩnh\"}\n\t{:id=>\"Q10800174\", :name=>\"Nguyễn Đức Hoan\"}\n\t{:id=>\"Q10799467\", :name=>\"Nguyễn Sơn\"}\n\t{:id=>\"Q10829592\", :name=>\"Trần Văn Hạnh\"}\n\t{:id=>\"Q10769970\", :name=>\"Huỳnh Đức Hòa\"}\n\t{:id=>\"Q739795\", :name=>\"Nguyễn Văn Linh\"}\n\t{:id=>\"Q10799663\", :name=>\"Nguyễn Thị Mỹ Hương\"}\n\t{:id=>\"Q10825753\", :name=>\"Thái Phụng Nê\"}\n\t{:id=>\"Q10829573\", :name=>\"Trần Việt Hùng\"}\nAdding GenderBalance results from sources/gender-balance/results.csv\n  ⚥ data for 0; 0 added\n\n\nTop identifiers:\n  368 x wikidata\n  9 x viaf\n  6 x freebase\n  4 x bnf\n  3 x lcauth\n\nCreating names.csv\n  ☇ No dates for Hoàng Trung Hải (Q10769050) as Deputy Prime Minister of Vietnam\n  ☇ No dates for Nguyễn Xuân Phúc (Q10800073) as Prime Minister of Vietnam\n  ☇ No dates for Nguyễn Sinh Hùng (Q4120045) as Deputy Prime Minister of Vietnam\nPersons matched to Wikidata: 368 ✓ | 124 ✘\n  No wikidata: Nguyễn Minh Phương (fdc73f2f-ca09-4581-a497-3e9a430c8922)\n  No wikidata: Trương Minh Chiến (15809f09-6a9a-41c6-a334-0ee7f95649bf)\n  No wikidata: Nguyễn Văn Lợi (70777ae6-4462-4d51-a7ae-28ceb2bb6d60)\n  No wikidata: Trần Hồng Hà (8a55e7a5-3dd7-4238-8335-95817cbf6ff3)\n  No wikidata: Nguyễn Văn Bình (4e4172a8-d2ca-4d68-af1e-f31fae762fc7)\n  No wikidata: Ma Thị Thúy (ca2abdaf-8d6f-4d02-a637-c10807f8429c)\n  No wikidata: Trần Thanh Hải (b76b1d92-70d0-4b33-a192-a439407799b6)\n  No wikidata: Nguyễn Thái Bình (Thái Bình) (db731291-c6ef-4731-969d-1a5578db609c)\n  No wikidata: Vi Thị Hương (01dbde72-c7ca-48fa-9a96-6351277a13d2)\n  No wikidata: Lê Thị Yến (93b97d88-1da6-4372-928c-a5426e1aa214)\nParties matched to Wikidata: 0 ✓ | 1 ✘\nAreas matched to Wikidata: 0 ✓ | 63 ✘\n```","created_at":"2017-04-02T07:21:38Z","updated_at":"2017-04-02T07:21:38Z","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/30858/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/30858/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/30858/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/74a3813e1730d4eb857e6727a053b0f0c344dff0","head":{"label":"everypolitician:vietnam-cabinet","ref":"vietnam-cabinet","sha":"74a3813e1730d4eb857e6727a053b0f0c344dff0","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-04-02T07:21:20Z","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":1497060,"stargazers_count":72,"watchers_count":72,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":546,"forks":10,"open_issues":546,"watchers":72,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"2dba9e445890319dc54c9629db9d623ece30effe","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-04-02T07:21:20Z","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":1497060,"stargazers_count":72,"watchers_count":72,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":546,"forks":10,"open_issues":546,"watchers":72,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/30858"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/30858"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/30858"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/30858/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/30858/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/30858/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/74a3813e1730d4eb857e6727a053b0f0c344dff0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":384,"deletions":78,"changed_files":6}}
{"actor":{"display_login":"tmtmtmtm"}}