geocode | R Documentation |
Geocode street address(es) using the Google Maps API.
geocode(address, ..., key, verbose = FALSE)
address |
character |
... |
further arguments to be passed on to the Google Maps API |
key |
character (your valid API key) |
verbose |
TRUE or FALSE |
GOOGLE_API_KEY
should be set in ~/.Renviron
or /etc/R/Renviron.site
https://developers.google.com/maps/documentation/geocoding/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.