Spatial distribution of tuna effort.
map_effort_distribution(dataframe, graph_type = "plot", title = FALSE)
data.frame expected. Csv or output of the function data_extraction, which must be done before using the map_effort_distribution() function.
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
cwp11_act
ocean_code
set_duration
total_hour_fished
Add these columns for an automatic title (optional):
country_code
vessel_type_code