powered by
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())
tibble::tibble
character. Locations to fetch.
timeset Epiweeks to fetch. Defaults to all ("*") dates.
timeset
fetch_args. Additional arguments to pass to fetch().
fetch_args
fetch()
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.
if (FALSE) { pub_gft(locations = "hhs1", epiweeks = epirange(201201, 202001)) }
Run the code above in your browser using DataLab