R/fdi_tablef_landings_length.R
fdi_tablef_landings_length.Rd
Process for generation and optionally extraction of the FDI table F (NAO OFR landings length).
fdi_tablef_landings_length(
balbaya_con,
sardara_con,
t3_con,
period,
gear,
flag,
tablea_bycatch_retained,
tablea_catch_summary,
cwp_grid_file_path,
fao_area_file_path,
template_checking = FALSE,
template_year = NULL,
table_export_path = NULL
)
list expected. Output of the function postgresql_dbconnection for a connection to the balbaya database.
list expected. Output of the function postgresql_dbconnection for a connection to the sardara database.
list expected. Output of the function postgresql_dbconnection for a connection to the t3 database.
integer expected. Year period for data extractions.
integer. Gear(s) selection for data extractions.
integer expected. Flag(s) selection for data extractions.
Output "bycatch_retained" of the function fdi_tablea_catch_summary.
Output "table_a" of the function fdi_tablea_catch_summary.
character expected. File path of the CWP area grid. The file format has to be .Rdata or .RData extension.
character expected. File path of the FAO area grid. The file format has to be .Rdata or RData extension.
logical expected. By default FALSE Checking FDI table generated regarding the official FDI template.
integer expected. By default NULL. Template year.
character expected. By default NULL. Directory path associated for the export.
The process returns a list with the FDI table F inside.