Fishing capacity. Annual changes in the number of purse seiners by tonnage categories (barplots) and total carrying capacity (dashed line with circles).
fishing_capacity(dataframe, graph_type = "plot", title = FALSE)
data.frame expected. Csv or output of the function data_extraction, which must be done before using the fishing_capacity() function.
character expected. plot, plotly or table. Plot by default.
TRUE or FALSE expected. False by default.
The function return ggplot R plot.
The input dataframe must contain all these columns for the function to work [see referentials]:
activity_date
catch
keel_code
Add these columns for an automatic title (optional):
country_code
ocean_code
vessel_type_code