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
)
list expected. Output of the function postgresql_dbconnection, which must be done before using the catch_map function.
integer expected. Period identification in year.
integer expected. Specie codes identification.
integer expected. Ocean codes identification.
integer expected. Country codes identification.
integer expected. Vessel type codes identification.
path to save the final graphic as a png. NULL by default.
The function return ggplot R map.