View source: R/get_inpfc_strata.R
get_inpfc_strata | R Documentation |
Create INPFC strata sf POLYGONs by dissolving GOA or AI bottom trawl survey strata POLYGONs based on numerical stratum codes.
get_inpfc_strata(select.region, set.crs, use.v3 = FALSE, design.year = NULL)
select.region |
Region for INPFC strata. Either GOA or AI. |
set.crs |
Which coordinate reference system should be used? If 'auto', an Albers Equal Area coordinate reference system is automatically assigned. |
use.v3 |
Should stratum geometries from akgfmaps v3 be used? Default is FALSE. |
design.year |
Survey design year for files to retrieve. Returns the most recent year when NULL or closest year before the design year when there isn't an exact match. |
INPFC strata as an sf POLYGON.
## Not run:
library(akgfmaps)
# INPFC strata for the Aleutian Islands (within AI bottom trawl survey extent)
inpfc_ai <- get_inpfc_strata(select.region = "ai", set.crs = "EPSG:3338")
ggplot() +
geom_sf(data = inpfc_ai,
mapping = aes(fill = INPFC_STRATUM))
# INPFC strata for the Gulf of Alaska (within GOA bottom trawl survey extent)
inpfc_goa <- get_inpfc_strata(select.region = "goa", set.crs = "EPSG:3338")
ggplot() +
geom_sf(data = inpfc_goa,
mapping = aes(fill = INPFC_STRATUM))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.