autosuggest | R Documentation |
Completes addresses using the HERE 'Geocoder Autosuggest' API.
autosuggest(address, results = 5, url_only = FALSE)
address |
character, address text to propose suggestions. |
results |
numeric, maximum number of suggestions (Valid range: 1 and 100). |
url_only |
boolean, only return the generated URLs ( |
A data.frame
object, containing the suggestions for the input addresses.
HERE Geocoder API: Autosuggest
# Provide an API Key for a HERE project
set_key("<YOUR API KEY>")
suggestions <- autosuggest(address = poi$city, url_only = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.