{"action":"opened","number":92423,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/92423","id":186132109,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/92423","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/92423.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/92423.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/92423","number":92423,"state":"open","locked":false,"title":"Tanzania (National Assembly): refresh term5","user":{"login":"everypoliticianbot","id":12693984,"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 term5 for Tanzania - National Assembly\n\n#### Output\n\n```\nSwitched to a new branch 'tanzania-assembly-1525482517'\n⤈ No ORDER BY for sources/morph/term5.csv\nAdd memberships from sources/archive/term4.csv\nAdd memberships from sources/morph/term5.csv\n592 -> d6ae596b-9daa-41b7-be1c-1e83e989a006\n593 -> 6a28958e-f0d5-4b2e-a19c-99c4bd9b9f08\n594 -> c33f21c8-1eb8-4569-b45e-41584df3a444\n595 -> 6937ef93-c9cd-4b73-a80d-041b47bcf7fa\n596 -> 58ce658b-5abe-47a5-b207-e0c2c0e08b27\nAdd memberships from sources/archive/term5-vanished.csv\nMerging with sources/morph/wikidata.csv\nData Mismatches\n  ☁ Mismatch in birth_date for 6dfd07e6-9ca1-470d-857b-1f2554b49784 (1972-08-05) vs 1938-08-01 (for Q1293072)\n  ☁ Mismatch in birth_date for 812dd751-ee26-421e-a239-7e2e8d254a03 (1945-11-06) vs 1945-05-06 (for Q13124686)\n  ☁ Mismatch in birth_date for 109671d1-0f07-4559-b529-e43f5024ae1c (1956-09-01) vs 1956-01-09 (for Q15665420)\n  ☁ Mismatch in birth_date for 5cc7e700-17f3-43bb-b6f6-fa183ecca88c (1956-07-09) vs 1950-03-10 (for Q16145336)\n  ☁ Mismatch in birth_date for 12b02f92-44fd-4d94-aa85-4544a390d19f (1963-05-25) vs 1963-05-23 (for Q16195184)\n  ☁ Mismatch in birth_date for 40eeeb49-a3ce-4ab7-8053-518ae6c52924 (1964-09-23) vs 1964-08-13 (for Q16195625)\n  ☁ Mismatch in birth_date for 4438b413-f970-4a3c-b850-6da88f774750 (1970-10-10) vs 1971-10-10 (for Q16213580)\n  ☁ Mismatch in birth_date for 0b9d2462-9e5c-49be-9432-35de19f49cb7 (1986-07-08) vs 1985 (for Q16733187)\n  ☁ Mismatch in birth_date for 1950daa9-8c5b-4e99-bd8c-461d4bba98bc (1949-08-08) vs 1956-01-09 (for Q27448088)\n  ☁ Mismatch in birth_date for 39d56765-d1f2-4ec7-b57a-515d02fba187 (1966-02-26) vs 1968-02-26 (for Q30090517)\n  ☁ Mismatch in birth_date for d147259f-e622-4ab2-852f-a4166d5ffcd8 (1964-08-18) vs 1963-08-18 (for Q31752769)\n  ☁ Mismatch in birth_date for 8d3cd098-c087-40e7-bc9f-ba49991026a9 (1969-05-11) vs 1968-05-11 (for Q31752823)\n  ☁ Mismatch in birth_date for 54dfd6a8-1380-419e-86e0-835c344aa69e (1971-11-20) vs 1971-10-29 (for Q31752833)\n  ☁ Mismatch in birth_date for 12ca312a-b306-4ee9-8bf2-84a1b1c70c75 (1954-07-17) vs 1953-07-17 (for Q31753035)\n  ☁ Mismatch in birth_date for 363517b8-e3ef-45e6-9a1b-5420e5ef40d1 (1970-11-12) vs 1970-11-21 (for Q31753068)\n  ☁ Mismatch in birth_date for 69007809-0e47-44ca-8dfe-2f6602c27293 (1975-01-17) vs 1969-01-24 (for Q3372771)\n  ☁ Mismatch in birth_date for baca35ba-3907-47ab-8a22-c5a7418e2293 (1948-12-24) vs 1947-12-24 (for Q4756599)\n  ☁ Mismatch in birth_date for 72277650-ab84-4e53-9292-60f99ee818ad (1959-07-06) vs 1956-08-09 (for Q6399650)\n  ☁ Mismatch in birth_date for b2cd4f01-c3f8-4f2a-84e2-5ee84e63c8e7 (1975-08-05) vs 1975-05-08 (for Q6893059)\n  ☁ Mismatch in birth_date for d0ba4c44-2b4c-49d3-b437-9fed777aad91 (1961-10-28) vs 1962-11-20 (for Q7487777)\n  ☁ Mismatch in birth_date for d45e9019-e89c-41de-95c8-a2cd2e123878 (1960-01-22) vs 1960-01-21 (for Q9032315)\n* 26 of 637 unmatched\n\t{:id=>\"Q4695845\", :name=>\"Ahmed Hassan Diria\"}\n\t{:id=>\"Q20605727\", :name=>\"Suleiman Saddiq\"}\n\t{:id=>\"Q30090615\", :name=>\"Abdallah Ulega\"}\n\t{:id=>\"Q17106746\", :name=>\"Regia Mtema\"}\n\t{:id=>\"Q31752529\", :name=>\"Khalifa Suleiman\"}\n\t{:id=>\"Q5373133\", :name=>\"Emmanuel Asajile Mwambulukutu\"}\n\t{:id=>\"Q13123140\", :name=>\"Jeremiah Solomon Sumari\"}\n\t{:id=>\"Q7369953\", :name=>\"Rostam Abdulrasul Aziz\"}\n\t{:id=>\"Q15220327\", :name=>\"Amina Chifupa\"}\n\t{:id=>\"Q500345\", :name=>\"Cleopa Msuya\"}\nMerging with sources/morph/genderbalance.csv\nData Mismatches\n  ☁ Mismatch in gender for 161e5986-f0a9-409c-9a52-db6263d73383 (male) vs female (for )\n  ☁ Mismatch in gender for 437ea7c7-9bbe-4bff-b881-b5f1e900d0e6 (male) vs female (for )\n  ☁ Mismatch in gender for 6dfd07e6-9ca1-470d-857b-1f2554b49784 (male) vs female (for )\n  ☁ Mismatch in gender for a4a0a90b-cde0-499f-b9ee-9e52b0d7260c (male) vs female (for )\n  ☁ Mismatch in gender for f08fba97-4587-4da7-84ec-a2f5b0f8dfc7 (male) vs female (for )\n* 5 of 881 unmatched\n\t{}\n\nTop identifiers:\n  611 x wikidata\n  18 x freebase\n  15 x viaf\n  10 x gnd\n  9 x lcauth\n\nCreating names.csv\nPersons matched to Wikidata: 611 ✓ | 291 ✘\n  No wikidata: Ali Said Fatma (d7eee555-9c6b-4452-b41d-07858c113cbf)\n  No wikidata: Kissassi Edington Remidius (3ada85eb-a025-4534-87c7-4da7de3150f6)\n  No wikidata: Nyami Damiano Ponsiano (0475fb97-3d80-4108-9bb1-4b60145abb7c)\n  No wikidata: Saumu Heri Sakala (bcbaaad0-44a2-487e-a8ad-a39a67e7c787)\n  No wikidata: Zarina Shamte Madabida (c723593b-0e21-47d1-9791-9e9968b7b9b6)\n  No wikidata: Joseph Leonard Haule (b58afdf1-5f46-4d93-b3e4-7af2dcf87824)\n  No wikidata: Juma Haji Ali (de51e9c3-cd30-4011-a19a-c2e5d5c331f5)\n  No wikidata: Kusaga Kasola Hadija (20f90513-28a3-45ed-a8e8-bad5be028d91)\n  No wikidata: Lupatu A. Mussa (dbd31414-02c2-402a-b826-31d7419eb355)\n  No wikidata: Derefa Newe Leonard (be9a27b3-38a2-4c12-b080-8d230d29f275)\nParties matched to Wikidata: 10 ✓ | 3 ✘\n  No wikidata: Civil United Front (party/civil_united_front)\n  No wikidata: - (party/-)\n  No wikidata: None (party/none)\nAreas matched to Wikidata: 0 ✓ | 316 ✘\n[tanzania-assembly-1525482517 109ac01] Tanzania: Refresh from upstream changes\n 7 files changed, 254 insertions(+), 228 deletions(-)\n\n```","created_at":"2018-05-05T01:12:54Z","updated_at":"2018-05-05T01:12:54Z","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/92423/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/92423/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/92423/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/109ac01d60de006d6eade143c71c7cf54b8febf5","head":{"label":"everypolitician:tanzania-assembly-1525482517","ref":"tanzania-assembly-1525482517","sha":"109ac01d60de006d6eade143c71c7cf54b8febf5","user":{"login":"everypolitician","id":12497298,"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,"name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"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},"private":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-05-02T05:39:09Z","pushed_at":"2018-05-05T01:12:52Z","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":1765264,"stargazers_count":107,"watchers_count":107,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":623,"license":null,"forks":16,"open_issues":623,"watchers":107,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"b235f8706e197c24da33c6dc1232b4806b8d4357","user":{"login":"everypolitician","id":12497298,"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,"name":"everypolitician-data","full_name":"everypolitician/everypolitician-data","owner":{"login":"everypolitician","id":12497298,"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},"private":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-05-02T05:39:09Z","pushed_at":"2018-05-05T01:12:52Z","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":1765264,"stargazers_count":107,"watchers_count":107,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":623,"license":null,"forks":16,"open_issues":623,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/92423"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/92423"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/92423"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/92423/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/92423/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/92423/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/109ac01d60de006d6eade143c71c7cf54b8febf5"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":254,"deletions":228,"changed_files":7}}
{"actor":{"display_login":"everypoliticianbot"}}