catch_map() graphically represents the distribution of catches on a map by specie, country, ocean, period, time step and vessel type.

catch_map(
  data_connection,
  time_period,
  specie,
  ocean,
  country,
  vessel_type,
  path_file = NULL
)

Arguments

data_connection

list expected. Output of the function postgresql_dbconnection, which must be done before using the catch_map function.

time_period

integer expected. Period identification in year.

specie

integer expected. Specie codes identification.

ocean

integer expected. Ocean codes identification.

country

integer expected. Country codes identification.

vessel_type

integer expected. Vessel type codes identification.

path_file

path to save the final graphic as a png. NULL by default.

Value

The function return ggplot R map.