{"action":"created","issue":{"url":"https://api.github.com/repos/nmonhait/westnile_epi/issues/12","repository_url":"https://api.github.com/repos/nmonhait/westnile_epi","labels_url":"https://api.github.com/repos/nmonhait/westnile_epi/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/nmonhait/westnile_epi/issues/12/comments","events_url":"https://api.github.com/repos/nmonhait/westnile_epi/issues/12/events","html_url":"https://github.com/nmonhait/westnile_epi/issues/12","id":388827619,"node_id":"MDU6SXNzdWUzODg4Mjc2MTk=","number":12,"title":"Distinguish between NA and 0 in case counts in original df and bring through to later dfs.","user":{"login":"wendtke","id":42548298,"node_id":"MDQ6VXNlcjQyNTQ4Mjk4","avatar_url":"https://avatars3.githubusercontent.com/u/42548298?v=4","gravatar_id":"","url":"https://api.github.com/users/wendtke","html_url":"https://github.com/wendtke","followers_url":"https://api.github.com/users/wendtke/followers","following_url":"https://api.github.com/users/wendtke/following{/other_user}","gists_url":"https://api.github.com/users/wendtke/gists{/gist_id}","starred_url":"https://api.github.com/users/wendtke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wendtke/subscriptions","organizations_url":"https://api.github.com/users/wendtke/orgs","repos_url":"https://api.github.com/users/wendtke/repos","events_url":"https://api.github.com/users/wendtke/events{/privacy}","received_events_url":"https://api.github.com/users/wendtke/received_events","type":"User","site_admin":false},"labels":[{"id":1119661240,"node_id":"MDU6TGFiZWwxMTE5NjYxMjQw","url":"https://api.github.com/repos/nmonhait/westnile_epi/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":1119661241,"node_id":"MDU6TGFiZWwxMTE5NjYxMjQx","url":"https://api.github.com/repos/nmonhait/westnile_epi/labels/help%20wanted","name":"help wanted","color":"008672","default":true}],"state":"open","locked":false,"assignee":{"login":"wendtke","id":42548298,"node_id":"MDQ6VXNlcjQyNTQ4Mjk4","avatar_url":"https://avatars3.githubusercontent.com/u/42548298?v=4","gravatar_id":"","url":"https://api.github.com/users/wendtke","html_url":"https://github.com/wendtke","followers_url":"https://api.github.com/users/wendtke/followers","following_url":"https://api.github.com/users/wendtke/following{/other_user}","gists_url":"https://api.github.com/users/wendtke/gists{/gist_id}","starred_url":"https://api.github.com/users/wendtke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wendtke/subscriptions","organizations_url":"https://api.github.com/users/wendtke/orgs","repos_url":"https://api.github.com/users/wendtke/repos","events_url":"https://api.github.com/users/wendtke/events{/privacy}","received_events_url":"https://api.github.com/users/wendtke/received_events","type":"User","site_admin":false},"assignees":[{"login":"wendtke","id":42548298,"node_id":"MDQ6VXNlcjQyNTQ4Mjk4","avatar_url":"https://avatars3.githubusercontent.com/u/42548298?v=4","gravatar_id":"","url":"https://api.github.com/users/wendtke","html_url":"https://github.com/wendtke","followers_url":"https://api.github.com/users/wendtke/followers","following_url":"https://api.github.com/users/wendtke/following{/other_user}","gists_url":"https://api.github.com/users/wendtke/gists{/gist_id}","starred_url":"https://api.github.com/users/wendtke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wendtke/subscriptions","organizations_url":"https://api.github.com/users/wendtke/orgs","repos_url":"https://api.github.com/users/wendtke/repos","events_url":"https://api.github.com/users/wendtke/events{/privacy}","received_events_url":"https://api.github.com/users/wendtke/received_events","type":"User","site_admin":false},{"login":"nmonhait","id":43351727,"node_id":"MDQ6VXNlcjQzMzUxNzI3","avatar_url":"https://avatars1.githubusercontent.com/u/43351727?v=4","gravatar_id":"","url":"https://api.github.com/users/nmonhait","html_url":"https://github.com/nmonhait","followers_url":"https://api.github.com/users/nmonhait/followers","following_url":"https://api.github.com/users/nmonhait/following{/other_user}","gists_url":"https://api.github.com/users/nmonhait/gists{/gist_id}","starred_url":"https://api.github.com/users/nmonhait/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmonhait/subscriptions","organizations_url":"https://api.github.com/users/nmonhait/orgs","repos_url":"https://api.github.com/users/nmonhait/repos","events_url":"https://api.github.com/users/nmonhait/events{/privacy}","received_events_url":"https://api.github.com/users/nmonhait/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-12-07T21:54:05Z","updated_at":"2018-12-08T02:51:15Z","closed_at":null,"author_association":"COLLABORATOR","body":"Currently, the map shows a county with NA counts as gray, but that county might actually have 0 cases in that particular year for that gender. \r\n\r\nIn the original data, we need to use the `expand.grid()` function to obtain all possible combinations of counties (\"NAMES\"), gender (\"gender\"), and year (\"year\"). Then, we `full_join` with our filtered data to obtain '0's for all combinations of county name, gender, and year that are truly '0' and 'NA' for any combination that is truly missing. \r\n\r\nThen, we feed the new df through, and the map should accurately depict '0's vs. 'NA's.\r\n"},"comment":{"url":"https://api.github.com/repos/nmonhait/westnile_epi/issues/comments/445424319","html_url":"https://github.com/nmonhait/westnile_epi/issues/12#issuecomment-445424319","issue_url":"https://api.github.com/repos/nmonhait/westnile_epi/issues/12","id":445424319,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTQyNDMxOQ==","user":{"login":"wendtke","id":42548298,"node_id":"MDQ6VXNlcjQyNTQ4Mjk4","avatar_url":"https://avatars3.githubusercontent.com/u/42548298?v=4","gravatar_id":"","url":"https://api.github.com/users/wendtke","html_url":"https://github.com/wendtke","followers_url":"https://api.github.com/users/wendtke/followers","following_url":"https://api.github.com/users/wendtke/following{/other_user}","gists_url":"https://api.github.com/users/wendtke/gists{/gist_id}","starred_url":"https://api.github.com/users/wendtke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wendtke/subscriptions","organizations_url":"https://api.github.com/users/wendtke/orgs","repos_url":"https://api.github.com/users/wendtke/repos","events_url":"https://api.github.com/users/wendtke/events{/privacy}","received_events_url":"https://api.github.com/users/wendtke/received_events","type":"User","site_admin":false},"created_at":"2018-12-08T02:51:15Z","updated_at":"2018-12-08T02:51:15Z","author_association":"COLLABORATOR","body":"We could possibly use the `dplyr` version: `expand()`. I am currently comparing the two options."}}
{"actor":{"display_login":"wendtke"}}