Spatial distribution of tuna catches.

map_catch_distribution(
  dataframe,
  fishing_type = "ALL",
  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 map_catch_distribution() function.

fishing_type

character expected. FOB, FSC or ALL. ALL by default.

graph_type

character expected. plot or plotly. 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

  • vessel_code

  • species_code

  • ocean_code

  • school_code

  • cwp11_act

  • activity_id

  • positive_set

  • total_catch_weight

Add these columns for an automatic title (optional):

  • country_code

  • vessel_type_code