catch_serie() graphically represents the distribution of catches by specie, country, ocean, period, time step and vessel type.
catch_serie(
data_connection,
time_period,
specie,
ocean,
country,
vessel_type,
time_step = "year",
path_file = NULL
)
list expected. Output of the function postgresql_dbconnection, which must be done before using the catch_serie 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.
character expected. Kind of display you want in the graphic output. You can choose between "month" and "year".
character expected. NULL by default. Path to save the final graphic as a png.
The function return ggplot R object.