问题描述
根据数据类别 (https://github.com/pat310/google-trends-api/wiki/Google-Trends-Categories) 文档,我使用 gtrends 函数生成了一个查询,以便检索 Graz 的数据。
GR2812<-gtrends(
keyword = "Graz",geo = "",time ="2010-06-01 2017-02-28",gprop = c("web"),category = "67",hl = "en-US",low_search_volume = FALSE,cookie_url = "http://trends.google.com/Cookies/NID",tz = "Europe/Vienna",onlyInterest = FALSE
)
GR2812H<-(GR2812$interest_over_time$hits)
现在,类别 67 应该是“旅行”,但是当我使用类别“旅行”在 Google 趋势本身中执行相同的查询时,数据不匹配。如果我执行没有特定类别(类别 =“0”)的查询,我可以将我的数据与 Google 趋势完美匹配。有其他人遇到过这个问题吗?
我附上了所有的图片,所以你可以看到这个过程的结果。
提前致谢。
Results from the query in Google Trends
Parameters and results of the query in Google Trends
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)