dkahle / dkahle/ggmap

geocode: Return value should depend on `output` even if errors occur

Open
#250 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
778
Forks
234
PR merge metrics
No merged PRs in 30d

Description

If I query a geocode using the output = "more" option, and some error occurs (e.g. OVER_QUERY LIMIT) the result will be a data.frame with only two columns ("lat" and "lon"). Those two are NA.

It should be a data frame with 13 columns, all of which NA.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the geocode entry point and the handling for output="more" when an error such as OVER_QUERY LIMIT occurs. Reproduce the error and inspect the returned data frame; done means the error result has 13 columns, with every value set to NA.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.