| extractConvertCoord | R Documentation |
Extract converted coordinates from a conversion response
extractConvertCoord(res)
res |
Required. Response object returned by [convertCoord()] with 'output = "JSON"' or by the AutoNavi coordinate conversion API. |
A 'tibble' with columns 'lng' and 'lat'. When no data is present a single placeholder row filled with 'NA' values is returned.
[convertCoord()]
## Not run:
raw <- convertCoord("116.481499,39.990475", coordsys = "gps", output = "JSON")
extractConvertCoord(raw)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.