Last data update: 2014.03.03
|
R: Geolocalisation with Google Maps
getGoogleMapsAddress | R Documentation |
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)
|
city |
City
|
country |
Country
|
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.
Author(s)
Przemyslaw Biecek
References
The Google Maps API https://developers.google.com/maps/
Examples
## Not run:
getGoogleMapsAddress()
## End(Not run)
Results
|