1 2 3 4 5 6 |
library(gtrendsR) library(reshape2) google.trends = gtrends(c("psilocybin"), gprop = "web", time = "all")[[1]] google.trends = dcast(google.trends, date ~ keyword + geo, value.var = "hits") rownames(google.trends) = google.trends$date google.trends$date = NULL |
Associated R package manual: https://cran.r-project.org/web/packages/gtrendsR/gtrendsR.pdf
Cf.
Using GoogleTrends analysis to quantify the virality of memes, i.e., the spreading of information (in analogiam to spreading activation in a neuronal network in the brain):
2012). Google Flu Trends: Correlation With Emergency Department Influenza Rates and Crowding Metrics. Clinical Infectious Diseases
. (, 54(4), 463–469.
Plain numerical DOI: 10.1093/cid/cir883
DOI URL
directSciHub download