Main function that reproduce the results in ARGOX paper. The datasets are available at Harvard Dataverse <doi:10.7910/DVN/2IVDGK>.
argox_main(
gt.folder,
ili.folder,
population.file,
gft.file,
mix,
save.folder = NULL,
NCORES = 8
)
folder with Google Trends files, which should be thousands of csv file such as "US-MA_fever cough.csv" or "US-NY_cold or flu.csv"
folder with ILINet data files: "ILINet_nat.csv" and "ILINet_regional.csv"
file path to population csv file
file path to Google Flu Trends csv file
the weighted avarage mixing of raw state-level Google Trends data. Set to be 0 for stand-alone model. Set to be 1/3 for spatial-pooling model.
output folder to save graphics. If NULL then do not output graphics.
number of parallel cpu cores to be used.
Yang, S., Ning, S. & Kou, S.C. Use Internet search data to accurately track state level influenza epidemics. Sci Rep 11, 4023 (2021)