Description Usage Arguments Details Value
gcode_one
Geocodes a single address using ggmap
1 | gcode_one(address)
|
address |
A single character object. The address to be geocoded. |
This function geocodes an address, returning a vector of information containing latitude, longitude and full address.Google's API does not allow more than 50 req/sec, so I force a pause of 1/40 of a sec just to be safe.
Returns a three element vector: c(lat,long, full_address)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.