Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gtrendsR Error: widget$status_code == 200 is not TRUE

I work with the most recent version of devtools::install_github('PMassicotte/gtrendsR')

Until yesterday evening all was well. Then I got this error message:

Error: widget$status_code == 200 is not TRUE

code:

trend1 = gtrends("google", geo = c(""), time = "2014-07-28 2015-11-23")

result:

> trend1 = gtrends("google", geo = c(""), time = "2014-07-28 2015-11-23")
Error: widget$status_code == 200 is not TRUE

Does anyone know what happend of how to fix?

like image 832
nemja Avatar asked Apr 19 '17 07:04

nemja


1 Answers

I came up with the same problem and finally found a solution as well as your question. just in case it can still be of help. you should install the devtools version:

devtools::install_github("PMassicotte/gtrendsR")

in case you do not have curl package installed you should do it manually before installing gtrendsR

like image 107
Antonis Avatar answered Oct 13 '22 22:10

Antonis