Learn R Programming

whatthreewords (version 0.1.3)

coords_from_words: Returns the coordinates for a given what3words address

Description

Returns the coordinates for a given what3words address

Usage

coords_from_words(words, full_details = FALSE)

Value

If full_details == FALSE (the default) a matrix of WGS84 coordinates. Otherwise a list of full details for each what3words location.

Arguments

words

A what3words location

full_details

FALSE (default) to return only the coordinates. TRUE for full details.

Examples

Run this code
if (FALSE) { # !identical(Sys.getenv("WTW_API_KEY"), "")
coords_from_words("hotdog.jumping.frog")
}

Run the code above in your browser using DataLab