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

View source: R/get_wgfbit_data3.R

get_wgfbit_data3R 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, month, year and gear code.

Usage

get_wgfbit_data3(
  year,
  fishing_category = NULL,
  benthis_metier = NULL,
  datacall = NULL,
  convert2sf = FALSE
)

Arguments

year

which year to select

fishing_category

optional gear category ("Otter", "Dredge")

benthis_metier

optional benthis metier ("SDN_DMF")

datacall

integer year giving which data call year to inquire about. If NULL returns the a summary of the most recent approved data.

convert2sf

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

Details

gear_group and benthis_metier may not both be supplied, if neither are supplied the total is calculated.

Value

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

Examples

## Not run: 
# requires authorization
data3 <- get_wgfbit_data3(2021, benthis_metier = "OT_DMF", convert2sf = TRUE)
plot(data3["surface_sar"], border = NA, logz = TRUE)

## End(Not run)


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