Changes in the spatial extent of the fishery over time. Annual number of 1-degree squares explored by each vessel.
spatial_occupancy(
dataframe,
graph_type = "plot",
fishing_type = "ALL",
title = FALSE
)
data.frame expected. Csv or output of the function data_extraction, which must be done before using the spatial_occupancy function.
character expected. plot, plotly or table. Plot by default.
character expected. ALL, FOB and FSC.
TRUE or FALSE expected. False by default.
The function return ggplot R plot.
The input dataframe must contain all these columns for the function to work [see referentials]:
activity_date
cwp11_act
positive_set
total_set
total_hour_fished
school_type
Add these columns for an automatic title (optional):
country_code
ocean_code
vessel_type_code