pub_gft | R Documentation |
API docs: https://cmu-delphi.github.io/delphi-epidata/api/gft.html
Obtains estimates of inluenza activity based on volume of certain search queries from Google.
pub_gft(locations, epiweeks = "*", fetch_args = fetch_args_list())
locations |
character. Locations to fetch. |
epiweeks |
|
fetch_args |
|
Google has discontinued Flu Trends and this is now a static endpoint. Possibile input for locations can be found in https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/regions.txt, https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/states.txt, and https://github.com/cmu-delphi/delphi-epidata/blob/main/labels/cities.txt.
tibble::tibble
## Not run:
pub_gft(locations = "hhs1", epiweeks = epirange(201201, 202001))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.