Spatial distribution of tuna catches.
map_catch_distribution(
dataframe,
fishing_type = "ALL",
graph_type = "plot",
title = FALSE
)
data.frame expected. Csv or output of the function data_extraction, which must be done before using the map_catch_distribution() function.
character expected. FOB, FSC or ALL. ALL by default.
character expected. plot or plotly. Plot by default.
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
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