Completes addresses using the HERE 'Geocoder Autosuggest' API.
autosuggest(address, results = 5, url_only = FALSE)
character, address text to propose suggestions.
numeric, maximum number of suggestions (Valid range: 1 and 100).
boolean, only return the generated URLs (default = FALSE
)?
A data.frame
object, containing the suggestions for the input addresses.
# Provide an API Key for a HERE project
set_key("<YOUR API KEY>")
suggestions <- autosuggest(address = poi$city, url_only = TRUE)