Spatial distribution of tuna effort.

map_effort_distribution(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 map_effort_distribution() function.

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

  • cwp11_act

  • ocean_code

  • set_duration

  • total_hour_fished

Add these columns for an automatic title (optional):

  • country_code

  • vessel_type_code