Percentage of well cover

percentage_coverage(
  dataframe,
  report_year,
  ocean = "Atlantic",
  vesseltype = "PS"
)

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.

ocean

character expected. 'Atlantic' or 'Indian'. Atlantic by default.

vesseltype

character expected. 'SV', 'BB' and/or 'PS'. PS by default.

Value

The function return a table.

Details

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