here_reverse_geocoder_landmarks: Reverse Geocoding with Here API - Gather Landmarks data

Description Usage Arguments Details Value Examples

View source: R/here_reverse_geocoder_landmarks.R

Description

here_reverse_geocoder_landmarks Returns address information of the top 10 closest landmarks of a given latitude and longitude.

Usage

1
here_reverse_geocoder_landmarks(lat, lon, radius, here_id, here_code)

Arguments

lat

The latitude to be searched using the Here API - numeric

lon

The longitude to be searched using the Here API - numeric

radius

The search radius in meters to be used by the Here API - numeric

here_id

The developer application ID that uniquely identify the user

here_code

The developer application Code that uniquely identify the user

Details

This function works by verifying in the Here API the top 10 closest landmarks of a given latitude and longitude. The return is a data.frame containing multiple informations about the landmarks distance to the given point, and each landmarks name, address, country, state, city, district, street and postal code.

Value

Given a valid app_id, and app_code, the script returns a data.frame containing the closest landmarks, its distance to the given point, and each landmarks name, address, country, state, city, district, street and postal code;

Examples

1
2
3
4
## Not run: 
here_reverse_geocoder_landmarks(43.643513, -79.378262, 5000, '<YOUR_APP_ID>', '<YOUR_APP_CODE>')

## End(Not run)

paeselhz/heRe documentation built on Nov. 4, 2019, 11:16 p.m.