{"action":"opened","issue":{"url":"https://api.github.com/repos/PMassicotte/gtrendsR/issues/281","repository_url":"https://api.github.com/repos/PMassicotte/gtrendsR","labels_url":"https://api.github.com/repos/PMassicotte/gtrendsR/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/PMassicotte/gtrendsR/issues/281/comments","events_url":"https://api.github.com/repos/PMassicotte/gtrendsR/issues/281/events","html_url":"https://github.com/PMassicotte/gtrendsR/issues/281","id":337327515,"node_id":"MDU6SXNzdWUzMzczMjc1MTU=","number":281,"title":"Question about NA values for hits","user":{"login":"fischhoff","id":8240252,"node_id":"MDQ6VXNlcjgyNDAyNTI=","avatar_url":"https://avatars1.githubusercontent.com/u/8240252?v=4","gravatar_id":"","url":"https://api.github.com/users/fischhoff","html_url":"https://github.com/fischhoff","followers_url":"https://api.github.com/users/fischhoff/followers","following_url":"https://api.github.com/users/fischhoff/following{/other_user}","gists_url":"https://api.github.com/users/fischhoff/gists{/gist_id}","starred_url":"https://api.github.com/users/fischhoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fischhoff/subscriptions","organizations_url":"https://api.github.com/users/fischhoff/orgs","repos_url":"https://api.github.com/users/fischhoff/repos","events_url":"https://api.github.com/users/fischhoff/events{/privacy}","received_events_url":"https://api.github.com/users/fischhoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-01T22:20:41Z","updated_at":"2018-07-01T22:20:41Z","closed_at":null,"author_association":"NONE","body":"Hi! Thanks for making this package! \r\nHave a question: Do NA values for hits mean the value is not available, or the value is 0? I notice there are no 0 values returned by several searches (example below), and Google indicates the metric goes down to 0 (https://support.google.com/trends/answer/4365533). This makes me wonder if NA values may be zeros. Any advice much appreciated!\r\n\r\n\r\n``\r\ndevtools::install_github(\"PMassicotte/gtrendsR\", branch = \"low-search-volume\") #use version for getting low search volume regions\r\nlibrary(gtrendsR) \r\n\r\ntime = \"2004-01-01 2004-12-31\"\r\ngt <- gtrends(keyword = \"tick bite\", geo = c(\"US\"), time = time, category = 0, hl = \"en-US\", low_search_volume = TRUE)\r\n\r\ngt_dma <- gt$interest_by_dma\r\nunique(gt_dma$hits)\r\n\r\ngt_no_low <- gtrends(keyword = \"tick bite\", geo = c(\"US\"), time = time, category = 0, hl = \"en-US\", low_search_volume = FALSE)\r\ngt_no_low_dma<- gt_no_low$interest_by_dma\r\nunique(gt_no_low_dma$hits)\r\n``\r\n[1] 100  89  78  56  42  36  34  32  30  27  26  25  20  19  18  17  16  15  14  12  11  10   9   8   7   6   5   4   3\r\n[30]   2   1  NA\r\n [1] 100  89  78  56  42  36  34  32  30  27  26  25  20  19  18  17  16  15  14  12  11  10   9   8   7   6   5   4   3\r\n[30]   2   1  NA"}}
{"actor":{"display_login":"fischhoff"}}