Running GTrendR gives the error "Not enough search volume"

I am running the following code in R 3.0.1 (WIN 64 bit). GTrendsR version is 1.2.1. This package is designed to access GOOGLE Trends from R to download Google search frequencies.

# First time execution
install.packages("devtools")
library("devtools") 
install_bitbucket("GTrendsR", "persican")



# NORMAL execution

library("GTrendsR")
usr = "googleusername "
psw = "password "
ch  <- gconnect(usr, psw,verbose=TRUE)
trends <- gtrends(ch, query = "facebook",geo = "CA", cat="0")

Bu after the last line execution, I only get

Error: Not enough search volume. Please change your search terms.

This example is supposed to get the frequency of search queries "facebook" in Canada, so they do not have enough space to search for the keyword "facebook". Your advice is much appreciated

+4
source share
3 answers

, -, , ; . GitHub . , , Google , . , .

+1

, user3542643, . , , .

:

library(gtrendsR)
usr <- "xxxx"
psw <- "myPsw"
gconnect(usr, psw)
lang_trend <- gtrends(c("data is", "data are"), res="week")

, , :

lang_trend <- gtrends(c("statistical learning", "implicit learning"), res="week")

Warning message:
In names(trend)[3:ncol(trend)] <- unlist(strsplit(queryparams[1],  :
number of items to replace is not a multiple of replacement length

½ . .

BTW: Google, , , , .

0

Error: Not enough search volume. Please change your search terms.

, , 90% , , . Google / , , . , ()

, ,

  • 200 /
  • sys.sleep() .
  • .
  • If you try too hard, you will receive a 24-hour ban on your IP address.

The only solution I can think of is to configure the macro in your browser to get semi-manual data; until now, Google has not set any limits on the number of requests manually. Although, I think, they could even find it, they are good!

0
source

Source: https://habr.com/ru/post/1536852/


All Articles