validateCoords | R Documentation |
Utility function to check if a coordinates is valid
validateCoords(lng, lat, funcName, warn = TRUE, mode = c("point", "polygon"))
lng |
vector with longitude values |
lat |
vector with latitude values |
funcName |
Name of calling function |
warn |
A boolean. Whether to generate a warning message if there are rows with missing/invalid data |
mode |
if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.