View source: R/adfgConvert_StatAreas-LatLons.R
adfgConvert_LatLonsToStatAreas | R Documentation |
Function to convert lat-lon coordinates to ADFG stat areas.
adfgConvert_LatLonsToStatAreas(dfr, latCol = "lat", lonCol = "lon")
dfr |
|
latCol |
|
lonCol |
|
ADFG stat areas are coded AABBCC, where
lon = 100+AA W longitude
and
lat = BB+CC/60 N latitude
in decimal degrees.
AABBCC represents the lower right corner of the stat area.
a character vector with the ADFG stat area corresponding to each set of lat-lon coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.