here_reverse_geocoder: Reverse Geocoding with Here API

Description Usage Arguments Details Value Examples

View source: R/here_reverse_geocoder.R

Description

here_reverse_geocoder Returns address information of a given latitude and longitude.

Usage

1
here_reverse_geocoder(lat, lon, 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

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 address of a given latitude and longitude. The return is a list containing multiple informations about the address label, country, state, city, district, street, house_number and postal code.

Value

Given a valid app_id, and app_code, the script returns a list containing the label, country, state, city, district, street, house_number and postal code of a given latityde and longitude pair;

Examples

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

## End(Not run)

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