number_fad | R Documentation |
Number fads by year
number_fad(dataframe, time_period = as.integer(2013:2022), table = "by_year")
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. |
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
The function return a table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.