get_wgfbit_data2: Download swept area ratio, landings and value map data

View source: R/get_wgfbit_data2.R

get_wgfbit_data2R Documentation

Download swept area ratio, landings and value map data

Description

Download a data.frame of surface and subsurface swept area ratio by c-square for a given ICES ecoregion, year and gear code.

Usage

get_wgfbit_data2(ecoregion, year, convert2sf = FALSE)

Arguments

ecoregion

ICES ecoregion

year

which year to select

convert2sf

logical, default FALSE, should an simple features object be returned if the sf package is installed?

Value

a data.frame with a WKT column for the c-square polygons

Examples

## Not run: 
# requires authorization
data2 <- get_wgfbit_data2("Celtic Seas", 2021, convert2sf = TRUE)
plot(data2[data2$lE_MET_level6 == "OTB_DEF_70-99_0_0", "total_weight"], border = NA, logz = TRUE)

## End(Not run)


ices-tools-prod/icesVMS documentation built on April 24, 2023, 2:31 a.m.