-
Notifications
You must be signed in to change notification settings - Fork 112
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
Geocode more precise #25
Comments
That would be somewhat difficult. See the code and data in the package; you would have to unambiguously generalize to all world regions and sub-regions. This would have to start with a replacement countries data set, and new code. Volunteers welcome. |
Yes I agree that it is not easy to generalize. I have modified the code for my own needs but it's quite ugly. If I figure something better out I'll come back. :-) |
Even if you have just a sketch, we could at least add it to the docs. Also worth noting that your suggestion already works -- which your initial post did not say :) |
Yep sorry. But my sketch only returns the table with week and number of searches (not the other information). I modified the gtrends.R code (I hope the text is attached) so that it returns the string sooner and does not check countries. So at one point I have Then I modify the string So really it's not a nice code right now. I do not even know where to find a list of all subregions codes? Where did you find the table for all countries? Anyway thanks a lot for the package, I'm glad it exists! |
Thanks, I'll try to have a look at that! |
support for more precise geocode (closes #25)
Awesome!!! |
:) |
I think it would be great to be able to get results for a precise part of a country if one knows the code for this region. E.g. "IN" is India and "IN-WB" is West Bengali, one could be interested in finding the results for "IN-WB".
The text was updated successfully, but these errors were encountered: