View source: R/ts_gtrends_mwd.R
ts_gtrends_mwd | R Documentation |
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()
)
keyword |
A character vector with the actual Google Trends query
keywords. Defaults to NA which searches for the whole category. Contrary
to |
category |
A character vector, listing the categories, defaults to
|
geo |
A character vector denoting geographic regions for the query,
default is |
from |
A character string specifying the starting date for the obtained time series, defaults to 2006-01-01 |
to |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.