View source: R/get_crab_strata.R
get_crab_strata | R Documentation |
Load crab stratum polygons for EBS/NBS red king crab (Bristol Bay, Pribilof Islands, Norton Sound), EBS blue king crab (Pribilof Islands, St. Matthew Island), EBS snow crab, and EBS Tanner crab (West of 166W, East of 166W). Species and areas are described below.
get_crab_strata(select.stock = NULL, select.region = "ebs", set.crs)
select.stock |
Character vector indicating the name of the stock(s) to return. Options are Bristol Bay RKC ('bbrkc'), Pribilof Islands RKC ('pirkc'), Pribilof Islands BKC ('pibkc'), St. Matthew's BKC ('smbkc'), Norton Sound RKC ('nsrkc'), eastern Bering Sea snow crab ('ebssc'), and eastern Bering Sea Tanner crab ('ebstc'). |
select.region |
Select region |
set.crs |
Which coordinate reference system should be used? If 'auto', Alaska Albers Equal Area coordinate reference system (EPSG:3338) is automatically assigned. |
## Not run:
library(akgfmaps)
# Get all stock stratum boundaries by region
ebs_stocks <- akgfmaps::get_crab_strata(select.region = "ebs", set.crs = "EPSG:3338")
ggplot() +
geom_sf(data = ebs_stocks,
mapping = aes(fill = STRATUM)) +
facet_wrap(~STOCK)
# Get strata for a specific stock, such as Pribilof Islands red king crab ('pirkc')
pirkc <- akgfmaps::get_crab_strata(select.stock = "pirkc", set.crs = "EPSG:3338")
ggplot() +
geom_sf(data = pirkc,
mapping = aes(fill = STRATUM))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.