get_wgfbit_data1 {icesVMS} | R 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_data1(
ecoregion,
year,
fishing_category = NULL,
benthis_metier = NULL,
datacall = NULL,
convert2sf = FALSE
)
Arguments
ecoregion |
ICES ecoregion |
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 |
Details
fishing_category 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
data1 <- get_wgfbit_data1("Celtic Seas", 2021, benthis_metier = "OT_DMF", convert2sf = TRUE)
plot(data1["total_weight"], border = NA, logz = TRUE)
## End(Not run)
[Package icesVMS version 1.1.4 Index]