gtrendsR 1.5.0
Bug fixes
-
read.csv()
now usesencoding = "UTF-8"
to better deal with non-ascii characters (#394). -
Setting locale in queries via the
hl
argument now returns data (@marcf-91). For example,gtrends(keyword = "Macron", geo = "FR", hl = "fr")
. -
It was difficult to maintain an up-to-date database of all country codes supported by Google because they do not provide such a list.
gtrends()
now only checks the syntax structure of the entered code to make sure it matches the iso format (#390).
New feature
gtrends()
as a new parametercompared_breakdown
. When set toTRUE
, then the relative hits across the keywords will be returned. Can only be used if onegeo
is used conjointly with more than one keyword. For example:head(gtrends(keyword = c("nhl", "nba"), geo = "CA", compared_breakdown = TRUE)$interest_by_region)
(#404).