getGoogleMapsAddress: Geolocalisation with Google Maps
Description
Get geolocalisation (longitude, latitude) of a given adress
with the use of Google Maps API.
The Google Maps API is used to determine the geolocalisation
(longitude, latitude) of a given adress.
Usage
getGoogleMapsAddress(street = "Banacha 2", city = "Warszawa",
country="Poland", positionOnly = TRUE, delay=1)
Arguments
street
An address (street and building number)
positionOnly
What should be returned, vector with longitude,
latitude coordinates or the raw result from Google Maps API
delay
Number of seconds to wait between api calls
Value
If positionOnly=TRUE then a vector with two values or a raw list from Google Maps otherwise.
References
The Google Maps API https://developers.google.com/maps/
Examples
Run this code# NOT RUN {
getGoogleMapsAddress()
# }
Run the code above in your browser using DataLab