Percentage of well cover
percentage_coverage(
dataframe,
report_year,
ocean = "Atlantic",
vesseltype = "PS"
)
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. 'Atlantic' or 'Indian'. Atlantic by default.
character expected. 'SV', 'BB' and/or 'PS'. PS by default.
The function return a table.
The input dataframe must contain all these columns for the function to work [see referentials]:
ocean_label | flag | vessel_type | arrival_port | arrival_year |well_with_tuna | well_with_sample
-----------------------------------------------------------------------------------------------------
Atlantic | FRA | SV | ABIDJAN | 2018 |37 | 13
Atlantic | FRA | SV | ABIDJAN | 2017 |33 | 27
Atlantic | FRA | BB | DAKAR | 2018 |32 | 18