| latlon_as_decimal | R Documentation |
Convert longitude and latitude to decimal equivalents
latlon_as_decimal(x, sep = c(",", NA)[1])
x |
character, vector of one or two elements in the form of "43.6233° N, 70.2067° W" or ["43.6233° N", "70.2067° W"] |
sep |
character or NA, if character the input is split if NA we assume that a two element vector is provided |
a two element numeric of [lat, lon]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.