r - request for mass queries through gtrendsR: widget$status_code == 200 is not TRUE -


i working on retrieving mass queries google trends through package gtrendsr in r. in order that, have first imported list of words (454 words) csv file in r , initally declared vector of these words denoted "a".

df <- data.frame()  getseries <- function(a){ out <- null for(i in length(a)){  trend1 <- gtrends(i, geo = "us", time = "2009-01-01 2009-02-01")  trend2 <- gtrends(i, geo = "us", time = "2009-03-01 2009-04-01")  vec <- rbind(as.matrix(trend1),as.matrix(trend2))  out <- cbind(out,vec)  } return(out) sys.sleep(10) } getseries(a) 

by applying code, receive following error message:

 error: widget$status_code == 200 not true 

i quite noob in r, assume error above has mass queries requesting through code. did have faced issue , came solution?

i using the developer package of gtrendsr:

if (!require("devtools")) install.packages("devtools") devtools::install_github('pmassicotte/gtrendsr') 

i looking forward of support. :)


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -