View source: R/akfinConvert_ADFGStatAreas-LatLons.R
akfinConvert_LatLonsToADFGStatAreas | R Documentation |
Function to convert lat-lon coordinates to ADFG stat areas.
akfinConvert_LatLonsToADFGStatAreas(dfr, latCol = "lat", lonCol = "lon")
dfr |
: dataframe with lat, lon coordinates |
latCol |
: name of column with latitudes |
lonCol |
: name of column with longitudes |
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.