Learn R Programming

hereR (version 0.9.1)

autosuggest: HERE Geocoding & Search API: Autosuggest

Description

Completes addresses using the HERE 'Geocoder Autosuggest' API.

Usage

autosuggest(address, results = 5, url_only = FALSE)

Value

A data.frame object, containing the suggestions for the input addresses.

Arguments

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 (default = FALSE)?

References

HERE Geocoder API: Autosuggest

Examples

Run this code
# Provide an API Key for a HERE project
set_key("")

suggestions <- autosuggest(address = poi$city, url_only = TRUE)

Run the code above in your browser using DataLab