Fishing operations. Annual number of fishing sets on FOB-associated and free-swimming tuna schools.

fishing_activity(dataframe, graph_type = "plot", title = FALSE)

Arguments

dataframe

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

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

  • school_code

  • positive_set

  • total_set

  • v_tpec

Add these columns for an automatic title (optional):

  • country_code

  • ocean_code

  • vessel_type_code