Spatial distribution of tuna catches of the French purse seine fishing fleet.

map_catch_previous(
  data_connection,
  time_period,
  country = as.integer(x = 1),
  vessel_type = as.integer(x = 1),
  ocean = as.integer(x = 1),
  fishing_type = "ALL",
  graph_type = "plot",
  title = FALSE
)

Arguments

data_connection

list expected. Output of the function postgresql_dbconnection, which must be done before using the map_catch_previous() function.

time_period

integer expected. Period identification in year.

country

integer expected. Country codes identification.

vessel_type

integer expected. Vessel type codes identification.

ocean

integer expected. Ocean codes identification.

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.