Learn R Programming

icesVMS (version 1.1.4)

get_wgfbit_data2: 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)

Value

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

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?

Examples

Run this code
if (FALSE) {
# 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)
}

Run the code above in your browser using DataLab