View source: R/get_nmfs_areas.R
get_nmfs_areas | R Documentation |
Load NMFS statistical areas polygons.
get_nmfs_areas(set.crs)
set.crs |
Which coordinate reference system should be used? If 'auto', an Albers Equal Area coordinate reference system is automatically assigned. |
NMFS statistical areas in Alaska as an sf object.
## Not run:
library(akgfmaps)
# Get all NMFS Alaska areas
nmfs_areas <- get_nmfs_areas(set.crs = "EPSG:3338")
nmfs_areas_centroid <- sf::st_centroid(nmfs_areas)
ggplot() +
geom_sf(data = nmfs_areas) +
geom_sf_text(data = nmfs_areas_centroid,
mapping = aes(label = REP_AREA))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.