Annual catch rates (in t per searching day) on FOB- associated and free-swimming tuna schools (FSC).

catch_per_unit_effort(
  dataframe1,
  dataframe2,
  fishing_type,
  graph_type = "plot",
  title = FALSE
)

Arguments

dataframe1

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

dataframe2

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

fishing_type

character expected. FOB or FSC.

graph_type

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

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

  • species_code

  • school_code

  • set_duration

  • positive_set

  • set_duration

  • total_catch_weight

  • total_hour_fished

  • activity_date

  • school_code

  • set_duration

  • positive_set

  • set_duration

  • total_hour_fished

Add these columns for an automatic title (optional):

  • country_code

  • ocean_code

  • vessel_type_code