Uses the first principal component to construct an index.
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 string specifying the time span of the query. Possible values are:
Last hour
Last four hours
Last day
Last seven days
Past 30 days
Past 90 days
Past 12 months
Last five years (default)
Since the beginning of Google Trends (2004)
Time span between two dates (ex.: "2010-01-01 2010-04-03")
further arguments, passed to gtrendsR::gtrends()
.
should the series be seasonally adjusted? Only works if resulting data is monthly.
browseVignettes("intro")