IRdisplay icon indicating copy to clipboard operation
IRdisplay copied to clipboard

Error: widget$status_code == 200 is not TRUE. Please Help!

Open lentl opened this issue 8 years ago • 3 comments

This is my code in R

trend1 <- gtrends (c(paste0( "House for sale in London", "House for sale in Birmingham")), geo = "GB", time = "2004-01-01 2016-12-30")

And the error is

Error: widget$status_code == 200 is not TRUE

It doesn't seem to be a common error. I don't know what happens to it because I don't think the code is wrong though. Please help!

lentl avatar Mar 06 '17 10:03 lentl

your code is strange: c(paste0("House for sale in London", "House for sale in Birmingham")) is equivalent to "House for sale in LondonHouse for sale in Birmingham", i.e. a single string.

are you sure, this is what you want?

flying-sheep avatar Mar 06 '17 11:03 flying-sheep

Opps, it’s actually is trend1 <- gtrends (c( "House for sale in London", "House for sale in Birmingham”), geo = "GB", time = "2004-01-01 2016-12-30”) My bad. Thanks for responding

On Mar 6, 2017, at 11:57 AM, Philipp A. [email protected] wrote:

your code is strange: c(paste0("House for sale in London", "House for sale in Birmingham")) is equivalent to "House for sale in LondonHouse for sale in Birmingham", i.e. a single string.

are you sure, this is what you want?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

lentl avatar Mar 06 '17 16:03 lentl

OK, so it’s not the code that is at fault, and the error still occurs?

flying-sheep avatar Mar 06 '17 18:03 flying-sheep