powered by
Completes addresses using the 'Geocoder Autocomplete' API.
autocomplete(addresses, results = 5, url_only = FALSE)
character, addresses to autocomplete.
numeric, maximum number of suggestions (Valid range: 1 and 20).
boolean, only return the generated URLs (default = FALSE)?
default = FALSE
A data.table object, containing the autocomplete suggestions for the addresses.
data.table
HERE Geocoder API: Autocomplete
# NOT RUN { # Authentication set_auth( app_id = "<YOUR APP ID>", app_code = "<YOUR APP CODE>" ) suggestions <- autocomplete(addresses = poi$city, url_only = TRUE) # }
Run the code above in your browser using DataLab