words_from_coords {whatthreewords} | R Documentation |
Get what3words address from coordinates
words_from_coords(lat, lon, language = "en", full_details = FALSE)
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. |
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.
words_from_coords(lat = 51.5095, lon = -0.1266)