You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to collect trends data for more than 5 keywords following the suggested solution on this tutorial. However, I can't get all the data due to this error: __Error_ in FUN(X[[i]], ...) : Status code was not 200. Returned status code:429_
Here is the part that generates the error:
install.packages("readr")
install.packages("colorspace")
install.packages("vctrs")
install.packages("gtrendsR")
library(gtrendsR)
keywords <- c("X", "Y", "Z", "A", "B")
country <- c("US")
time <- ("2019-10-31 2022-10-31")
trends <- gtrends(keywords, geo = country, time = time)
The text was updated successfully, but these errors were encountered:
Google Trends do not offer a proper API, gtrendsR and pytrends are just "hacking" it to retrieve data. We do not have control on how many requests one can perform.
I am trying to collect trends data for more than 5 keywords following the suggested solution on this tutorial. However, I can't get all the data due to this error:
__Error_ in FUN(X[[i]], ...) : Status code was not 200. Returned status code:429_
Here is the part that generates the error:
The text was updated successfully, but these errors were encountered: