parse_gt_weekly {argo} | R Documentation |
Parsing of Google Trends data
Description
Parsing of Google Trends data
Usage
parse_gt_weekly(folder)
Arguments
folder |
folder with weekly Google Trends file |
References
Yang, S., Santillana, M., & Kou, S. C. (2015). Accurate estimation of influenza epidemics using Google search data via ARGO. Proceedings of the National Academy of Sciences. <doi:10.1073/pnas.1515373112>.
Examples
download.file("https://scholar.harvard.edu/files/syang/files/gt2016-10-24.zip",
file.path(tempdir(), "gt2016-10-24.zip"))
unzip(file.path(tempdir(), "gt2016-10-24.zip"), exdir = tempdir())
gt.folder <- file.path(tempdir(), "2016-10-19")
parsed_data <- parse_gt_weekly(gt.folder)
[Package argo version 3.0.2 Index]