Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logical operator - excluding topic #462

Open
liliagarciamanrique opened this issue May 9, 2024 · 1 comment
Open

Logical operator - excluding topic #462

liliagarciamanrique opened this issue May 9, 2024 · 1 comment

Comments

@liliagarciamanrique
Copy link

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!

@PMassicotte
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants