Construct a robust and consistent daily Time Series from Google Trends data. Daily, weekly and monthly Data is downloaded and consistently aggregated, using the Chow-Lin methodology.
ts_gtrends_mwd(
keyword = NA,
category = "0",
geo = "CH",
from = "2006-01-01",
to = Sys.Date()
)
A character vector with the actual Google Trends query
keywords. Defaults to NA which searches for the whole category. Contrary
to gtrendsR::gtrends()
, if different keywords are used,
mulitple queries are sent to Google, and each series is individually
normalized.
A character vector, listing the categories, defaults to
"0"
. Passed to gtrendsR::gtrends()
A character vector denoting geographic regions for the query,
default is "CH"
. Passed to gtrendsR::gtrends()
A character string specifying the starting date for the obtained time series, defaults to 2006-01-01
A character string specifying the ending date for the obtained time series, defaults to current day
See the working paper for details on the methodology.