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

Adds Multirange Interest Over Time #552

Merged
merged 7 commits into from
Dec 9, 2022
Merged

Conversation

magico
Copy link
Contributor

@magico magico commented Dec 2, 2022

In Google Trends you can compare two different timeframes for two completely different keywords (or the same keyword). For example: https://trends.google.com/trends/explore?date=2022-03-28%202022-04-01,2021-04-26%202021-04-30&geo=US,US&q=oscars%202022,oscars%202021

This can be particularly useful if you're trying to compare search interest for the same keyword year on year. For example: https://trends.google.com/trends/explore?date=2022-01-01%202022-01-30,2021-01-01%202021-01-30&geo=US,US&q=pizza,pizza

This pull requests adds a new multirange_interest_over_time that allows two different timeframes to be compared. This pull request solves issue #532.

@magico
Copy link
Contributor Author

magico commented Dec 2, 2022

I have no experience with VCR.py and writing tests for python, so I didn't write any for the PR. Maybe someone else can add them instead?

@emlazzarin
Copy link
Collaborator

emlazzarin commented Dec 2, 2022 via email

@magico
Copy link
Contributor Author

magico commented Dec 4, 2022

@emlazzarin Ok, I've managed to add a couple of tests for the new multirange_interest_over_time. Let me know what you think and if it's ready to be merged.

@magico
Copy link
Contributor Author

magico commented Dec 8, 2022

Just checking on this. Can this be merged or is it missing something?

@emlazzarin emlazzarin merged commit c6d73de into GeneralMills:master Dec 9, 2022
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

Successfully merging this pull request may close these issues.

2 participants