View source: R/get_wgfbit_data3.R
get_wgfbit_data3 | R Documentation |
Download a data.frame of surface and subsurface swept area ratio by c-square for a given ICES ecoregion, month, year and gear code.
get_wgfbit_data3(
year,
fishing_category = NULL,
benthis_metier = NULL,
datacall = NULL,
convert2sf = FALSE
)
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 |
gear_group and benthis_metier may not both be supplied, if neither are supplied the total is calculated.
a data.frame with a WKT column for the c-square polygons
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.