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)

Arguments

dataframe

data.frame expected. Csv or output of the function data_extraction, which must be done before using the bio_size_tuna() function.

report_year

integer expected. Year of the statistical report.

graph_type

character expected. plot or plotly. Plot by default.

title

TRUE or FALSE expected. False by default.

Value

The function return ggplot R plot.

Details

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