PMassicotte/gtrendsR

Logical operator - excluding topic

Opened this issue · 1 comments

Hi, sorry to write again in such a short time but I can't make - work.

When I ask for:
res <- gtrends(c("EV"), geo = c("CA-AB"), time = "2018-01-01 2018-03-31" )

I get:
res[["related_topics"]]

subject related_topics                 value   geo keyword category
1       100            top      Electric vehicle CA-AB      EV        0
2        66            top          Electronvolt CA-AB      EV        0
3        19            top          Electric car CA-AB      EV        0
4        19            top         Electro-Voice CA-AB      EV        0
5        18            top              Training CA-AB      EV        0
6        17            top               Pokémon CA-AB      EV        0
7        15            top               Pokémon CA-AB      EV        0

But if I ask for:
res <- gtrends(c("'EV - Pokemon'"), geo = c("CA-AB"), time = "2018-01-01 2018-03-31" )
res <- gtrends(c("'EV' - Pokemon"), geo = c("CA-AB"), time = "2018-01-01 2018-03-31" )

I get:
Error in start_top:end_top : NA/NaN argument

What am I missing? Thank you!

Sorry, I was out of town for a few days. I will have a look this week.