MapSites {lifeR} | R Documentation |
Map of sites with highest number of missing species
MapSites(sites, center_lng = NULL, center_lat = NULL)
sites |
A data.frame with at least the following columns:
|
center_lng |
center_lat numeric decimal degrees longitude and latitude of the geographic center used for searching sites. |
The function is primarily used by SitesReport
via the
template RMarkdown file used to build reports. It is not intended for
standalone use.
A ggplot object; if map server is unavailable, returns NULL
.
## Not run:
# Create data frame with required columns
localities <- data.frame(locName = c("Sweetwater Wetlands", "Reid Park"),
locID = c("L208918", "L227274"), num_new = c(3, 5),
lat = c(32.279, 32.210), lng = c(-111.022, -110.924))
lifeR::MapSites(sites = localities)
## End(Not run)