powered by
Geocodes addresses using the 'Geocoder' API.
geocode(addresses, autocomplete = FALSE, url_only = FALSE)
character, addresses to geocode.
boolean, use the 'Geocoder Autocomplete' API to autocomplete addresses? Note: This options doubles the amount of requests (default = FALSE).
default = FALSE
boolean, only return the generated URLs (default = FALSE)?
An sf object, containing the coordinates of the geocoded addresses.
sf
HERE Geocoder API: Geocode
# NOT RUN { # Authentication set_auth( app_id = "<YOUR APP ID>", app_code = "<YOUR APP CODE>" ) locs <- geocode(addresses = poi$city, url_only = TRUE) # }
Run the code above in your browser using DataLab