validate_coord | R Documentation |
validate_coord()
compares a coordinate pair (in decimal
degrees) to the polygon for a park unit as provided through the NPS
Units rest services. The function returns a value of TRUE or FALSE.
validate_coord(unit_code, lat, lon)
unit_code |
is the four-character unit code as designated by NPS. |
lat |
latitude, in decimal degrees. |
lon |
longitude, in decimal degrees. |
## Not run:
validate_coord("OBRI", 36.07951, -84.65610)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.