get_inpfc_strata: INPFC strata for the GOA or AI

View source: R/get_inpfc_strata.R

get_inpfc_strataR Documentation

INPFC strata for the GOA or AI

Description

Create INPFC strata sf POLYGONs by dissolving GOA or AI bottom trawl survey strata POLYGONs based on numerical stratum codes.

Usage

get_inpfc_strata(select.region, set.crs, use.v3 = FALSE, design.year = NULL)

Arguments

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.

Value

INPFC strata as an sf POLYGON.

Examples

## 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)

afsc-gap-products/akgfmaps documentation built on April 14, 2025, 7:13 p.m.