Search results in Google Trend by Region

Hi there! I am trying to get the main search results and topics in Google Trends for each Region of a country (Argentina in this example). I could not scrape Google Trends website with rvest, so i tried using gtrendsR (https://cran.r-project.org/web/packages/gtrendsR/gtrendsR.pdf)

library(gtrendsR)

gtrends(
   keyword = NA,
   geo = "AR-A")

Error in interest_over_time(widget, comparison_item, tz) : 
  Status code was not 200. Returned status code:400

If i would use a main word to look for, the code works perfectly, so my problem is in the keyword: I do not want to filter any word, i would like to get the list of the results of each region.

gtrends(
    keyword = "Lionel Messi",
   geo = "AR-A")$interest_over_time
          date hits      keyword  geo      time gprop category
1   2015-08-30    0 Lionel Messi AR-A today+5-y   web        0
2   2015-09-06   25 Lionel Messi AR-A today+5-y   web        0
3   2015-09-13   26 Lionel Messi AR-A today+5-y   web        0
4   2015-09-20   25 Lionel Messi AR-A today+5-y   web        0
5   2015-09-27    0 Lionel Messi AR-A today+5-y   web        0

Do you know how can i scrape the main result of a Region?

Afraid this is not supported:

Thank you! Next time I will look for my questions in github first.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.