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
)

Arguments

dataframe

data.frame expected. Csv or output of the function data_extraction, which must be done before using the spatial_occupancy function.

graph_type

character expected. plot, plotly or table. Plot by default.

fishing_type

character expected. ALL, FOB and FSC.

title

TRUE or FALSE expected. False by default.

Value

The function return ggplot R plot.

Details

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