Size distribution of major tuna catches (in percentage of the total number of fishes).
bio_size_tuna(dataframe, report_year, graph_type = "plot", title = FALSE)
data.frame expected. Csv or output of the function data_extraction, which must be done before using the bio_size_tuna() function.
integer expected. Year of the statistical report.
character expected. plot or plotly. 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
school_code
species_code
size_class
estimated_individual
Add these columns for an automatic title (optional):
country_code
ocean_code