get_polygons: Get predefined polygons from Northwest Atlantic

View source: R/polygons.R

get_polygonsR Documentation

Get predefined polygons from Northwest Atlantic

Description

Given a polygon abbreviation (see Details), get the polygon as a Simple Features (sf) object for simplified use in extracting data from that region of interest. The polygons defined in this function are those used in regular reporting of the state of the Northwest Atlantic by the AZMP and AZOMP programs, and predefined in the PhytoFit app (https://cioosatlantic.ca/phytofit/).

Usage

get_polygons(polys = NULL)

Arguments

polys

Vector of polygon abbreviations. If NULL, all polygons will be returned.

Value

sf object containing the selected polygons

Examples

scotian_shelf <- get_polygons(c("ESS_V02","CSS_V02","WSS_V02"))
plot(scotian_shelf)
print(scotian_shelf)

BIO-RSG/oceancolouR documentation built on Feb. 26, 2025, 7:47 a.m.