Description Usage Arguments Value Author(s) Examples
getRegions
Gets regional information for your dataset
1 | getRegions(lats, longs)
|
lats |
Latitude values in decimal degrees |
longs |
Longitude values in decimal degrees |
Returns a data frame of ECOREGION, PROVINCE, and REALMs for each point
seealso sp::over
Jarrett Byrnes.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(regions)
latlong <- data.frame(lat = c(50.0944444, 33.4691667, 34.0348833,
55.0869876, 51.7787776,
49.6088889, -35.750729),
long=c(-127.55889, -119.53028,
-119.70308, -161.87444,
178.30199, -126.78056, 150.259155))
regionalData <- getRegions(latlong$lat, latlong$long)
newdata <- cbind(latlong, regionalData)
newdata
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.