map_geocode | R Documentation |
This function requires an API key from Google Cloud to work. The key needs to be registered on first use inside R (or is written directly into .Renviron)
map_geocode(data)
data |
data.frame with a column 'addresses' which should contain the street, house number and city separated by spaces |
Note that in case of an error, the geoAddress column will repeat it's first valid entry (this should be fixed in a future update)
returns a data.frame with the additional columns 'lon', 'lat' and 'geoAddresses'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.