powered by
Download a data.frame of surface and subsurface swept area ratio by c-square for a given ICES ecoregion, year and gear code.
get_wgfbit_data1( ecoregion, year, fishing_category = NULL, benthis_metier = NULL, datacall = NULL, convert2sf = FALSE )
a data.frame with a WKT column for the c-square polygons
ICES ecoregion
which year to select
optional gear category ("Otter", "Dredge")
optional benthis metier ("SDN_DMF")
integer year giving which data call year to inquire about. If NULL returns the a summary of the most recent approved data.
logical, default FALSE, should an simple features object be returned if the sf package is installed?
sf
fishing_category and benthis_metier may not both be supplied, if neither are supplied the total is calculated.
if (FALSE) { # requires authorization data1 <- get_wgfbit_data1("Celtic Seas", 2021, benthis_metier = "OT_DMF", convert2sf = TRUE) plot(data1["total_weight"], border = NA, logz = TRUE) }
Run the code above in your browser using DataLab