| extractCoord | R Documentation |
Extract coordinate from a geocoding response
extractCoord(res)
res |
Required. Response object returned by [getCoord()] with 'output = "JSON"' or by the AutoNavi geocoding API. |
A 'tibble' with one row per geocode candidate. The table contains the original columns provided by the API alongside a 'match_rank' column that indicates the ordering reported by AutoNavi. When the response does not contain any matches a single placeholder row filled with 'NA' values is returned.
[getCoord()]
## Not run:
raw <- getCoord("IFS Chengdu", output = "JSON")
extractCoord(raw)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.