PMassicotte / gtrendsR

R functions to perform and display Google Trends queries
355 stars 112 forks source link

Compared breakdown by city #280

Open genann86 opened 6 years ago

genann86 commented 6 years ago

Hi, There is an option when I search for more than one keyword to obtain a compared breakdown by city, that gives me the percentage of searches that went to each keyword for the given keywords searched. Is this possible to download with gtrendsR? I attach an example here:

https://trends.google.com/trends/explore?date=all&geo=GB&q=apple%20pie,chocolate%20cake,lemon%20pie,carrot%20cake

Thank you!

PMassicotte commented 6 years ago

This is an interesting feature. I will try to dig into it.

erdavis1 commented 5 years ago

Hello! I'm loving this package--I wanted to chime in and also request this feature.

I tried comparing the raw search scores (e.g. 100 pie, 50 cake) to get relative percentages (66% pie, 33% cake), but the results don't line up with the comparison feature.

kingjoshuaj commented 4 years ago

agreed. this comparison is my primary use case for getting a gtrends API. the pytrends package does this correctly, so I'll see if I can dig into that code to see what's different with the endpoints for this and that package