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

support for more precise geocode (closes #25) #66

Merged
merged 1 commit into from
Feb 18, 2016

Conversation

PMassicotte
Copy link
Owner

> data("countries")
> head(countries[countries$code == "CA", ])
    code country subcode                   subname
652   CA  Canada   CA-AB                   Alberta
653   CA  Canada   CA-BC          British Columbia
654   CA  Canada   CA-MB                  Manitoba
655   CA  Canada   CA-NB             New Brunswick
656   CA  Canada   CA-NL Newfoundland and Labrador
657   CA  Canada   CA-NS               Nova Scotia

> head(gtrends("nhl", geo = "CA-AB")$trend)
       start        end nhl
1 2004-01-04 2004-01-10  17
2 2004-01-11 2004-01-17  18
3 2004-01-18 2004-01-24  15
4 2004-01-25 2004-01-31  12
5 2004-02-01 2004-02-07  16
6 2004-02-08 2004-02-14  18

@eddelbuettel
Copy link
Collaborator

Awesome!

eddelbuettel added a commit that referenced this pull request Feb 18, 2016
support for more precise geocode (closes #25)
@eddelbuettel eddelbuettel merged commit 90cf62e into master Feb 18, 2016
@eddelbuettel eddelbuettel deleted the geo-subdivision branch February 18, 2016 12:50
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