Find appropriate Google Trend in R

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Find appropriate Google Trend in R

codastic
Hello!

My question has 2 parts.

1) I am using R to query Google Trends in order to get the data of a specific trend. For example, let's say that I want to query the trend of "call of Duty". I found that the library 'gtrendsR' does the trick.

 library(gtrendsR)
 res <- gtrends("Call of Duty")
 plot(res)

The problem is, this gives me the trend of the 'search term' while i want the "Video game series' trend.


Can anybody tell me how I can specify that I want the 'Video game series' trend ?

2) If i want to automate this process and query the trends of many games i.e call of duty, red alert, generals, battlefield, overwatch and many more... Can i simply fill in an array of strings being the game names and query them using a loop or will querying the google trends site many times cause a problem ? If so, is there a way around that in order to automate the process?

Thank you very much for your help!

P.S, I already posted the same question on Stackoverflow but I did not get the answer I was looking for. Here is the link if someone wants to read the comments https://stackoverflow.com/questions/44904437/find-appropriate-google-trend-in-r