words_from_coords: Get what3words address from coordinates

View source: R/words_from_coords.R

words_from_coordsR Documentation

Get what3words address from coordinates

Description

Get what3words address from coordinates

Usage

words_from_coords(lat, lon, language = "en", full_details = FALSE)

Arguments

lat

Latitude

lon

Longitude

language

Code for the language of the returned words.

full_details

Whether to return the full details from the API, or only the what3words address for the coordinates.

Value

If full_details is FALSE (the default), returns a character vector of the what3words for the submitted coordinates. Otherwise returns a list of the full details returned by the API.

Examples


words_from_coords(lat = 51.5095, lon = -0.1266)


whatthreewords documentation built on Oct. 2, 2023, 5:09 p.m.