{"action":"opened","number":91003,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/91003","id":183929392,"html_url":"https://github.com/everypolitician/everypolitician-data/pull/91003","diff_url":"https://github.com/everypolitician/everypolitician-data/pull/91003.diff","patch_url":"https://github.com/everypolitician/everypolitician-data/pull/91003.patch","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/91003","number":91003,"state":"open","locked":false,"title":"Tanzania (National Assembly): refresh wikidata","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 wikidata for Tanzania - National Assembly\n\n#### Output\n\n```\nSwitched to a new branch 'tanzania-assembly-1524634654'\n⤈ No ORDER BY for sources/morph/wikidata.csv\nAdd memberships from sources/archive/term4.csv\nAdd memberships from sources/morph/term5.csv\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* 25 of 637 unmatched\n\t{:id=>\"Q4695845\", :name=>\"Ahmed Hassan Diria\"}\n\t{:id=>\"Q7180705\", :name=>\"Phares Kashemeza Kabuye\"}\n\t{:id=>\"Q31752900\", :name=>\"Juma Omar\"}\n\t{:id=>\"Q31753044\", :name=>\"Jasson Rweikiza\"}\n\t{:id=>\"Q5499021\", :name=>\"Frederick Werema\"}\n\t{:id=>\"Q16013473\", :name=>\"Kighoma Ali Malima\"}\n\t{:id=>\"Q17106746\", :name=>\"Regia Mtema\"}\n\t{:id=>\"Q13123140\", :name=>\"Jeremiah Solomon Sumari\"}\n\t{:id=>\"Q519965\", :name=>\"Professor Jay\"}\n\t{:id=>\"Q7369953\", :name=>\"Rostam Abdulrasul Aziz\"}\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* 1 of 881 unmatched\n\t{}\n\nTop identifiers:\n  612 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: 612 ✓ | 289 ✘\n  No wikidata: Christowaja Gerson Mtinda (3abeb496-b06e-4501-a597-5ade9f528982)\n  No wikidata: AnnaMaryStella John Robert Mallac (705176e0-c569-4502-8859-294bc731b5e1)\n  No wikidata: Haji Yahaya Ussi (81ec4ad9-8599-4646-8b23-b5933a5d540a)\n  No wikidata: Marwa Wankanga Ibrahim (464176c7-4d4e-4e84-b7d6-801fd5617d76)\n  No wikidata: Salim Said Ali (c9f99f3f-f17f-48d5-bc55-c04c5231e6b7)\n  No wikidata: Omar Juma Omar (6d9d6395-5bf9-48a0-b50c-282edd04b1d0)\n  No wikidata: Fundikira Abdallah Chifu (d8864883-dfac-4543-8138-62567eb54f7d)\n  No wikidata: Simpassa Johnson Eliachim (ad56c560-3a52-455c-8fca-a672890fbaa7)\n  No wikidata: Lediana Mafuru Mng'ong'o (edeb0ca5-0a8f-4b60-91a1-4399068a702e)\n  No wikidata: Kitine H. B. Hassy (a8f08ba9-28d0-445d-85fb-2a12e81f227b)\nParties matched to Wikidata: 10 ✓ | 2 ✘\n  No wikidata: - (party/-)\n  No wikidata: Civil United Front (party/civil_united_front)\nAreas matched to Wikidata: 0 ✓ | 316 ✘\n[tanzania-assembly-1524634654 013ed20] Tanzania: Refresh from upstream changes\n 2 files changed, 20 insertions(+), 16 deletions(-)\n\n```","created_at":"2018-04-25T05:40:47Z","updated_at":"2018-04-25T05:40:47Z","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/91003/commits","review_comments_url":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/91003/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/91003/comments","statuses_url":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/013ed206031d4f163b9c5e7967f923faca18c787","head":{"label":"everypolitician:tanzania-assembly-1524634654","ref":"tanzania-assembly-1524634654","sha":"013ed206031d4f163b9c5e7967f923faca18c787","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-04-24T10:07:36Z","pushed_at":"2018-04-25T05:39:41Z","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":1749821,"stargazers_count":104,"watchers_count":104,"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":604,"license":null,"forks":16,"open_issues":604,"watchers":104,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"4472a5115a5a60e27c86c83ffa7feceab917e321","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-04-24T10:07:36Z","pushed_at":"2018-04-25T05:39:41Z","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":1749821,"stargazers_count":104,"watchers_count":104,"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":604,"license":null,"forks":16,"open_issues":604,"watchers":104,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/91003"},"html":{"href":"https://github.com/everypolitician/everypolitician-data/pull/91003"},"issue":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/91003"},"comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/issues/91003/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/pulls/91003/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/91003/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/everypolitician-data/statuses/013ed206031d4f163b9c5e7967f923faca18c787"}},"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":20,"deletions":16,"changed_files":2}}
{"actor":{"display_login":"everypoliticianbot"}}