Number fads by year

number_fad(dataframe, time_period = as.integer(2013:2022), table = "by_year")

Arguments

dataframe

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

time_period

integer expected. as.integer(2013:2022) by default.

table

character expected. 'by_year' or 'by_vessel'. 'by_year' by default.

Value

The function return a table.

Details

The input dataframe must contain all these columns for the function to work [see referentials]:


   fishing_year | object_code_activity | buoy_code_activity | buoy_id | vessel_type | vessel_name
   ----------------------------------------------------------------------------------------------
   1999         | 1                    | 1                  | 99972   | PS          | AVEL VAD
   1999         | 1                    | 1                  | 99971   | PS          | AVEL VAD
   1999         | 1                    | 1                  | 99970   | PS          | AVEL VAD