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

Fix geocode() rate error for source = dsk #202

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

phively
Copy link

@phively phively commented Mar 1, 2018

This is a 2-line fix for issue #150 allowing address vectors with more than 2500 elements to be geocoded with source = 'dsk'. I ran devtools::check() and roxygen2::roxygenise(".") without any problems.

This method is different from the one in pull request #156 which appears to introduce a bug when the if statement on line 120 is evaluated (if source != 'google' then string s would not exist).

Thanks for the fantastic package!

Prevents the Google-specific messages and stop errors from displaying when attempting to geocode >2500 or >100000 addresses at once using a non-Google source.
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.

None yet

1 participant