R/fdi_shortcut_function.R
fdi_shortcut_function.Rd
Shortcut function to generate all FDI tables.
fdi_shortcut_function(
balbaya_con,
sardara_con,
t3_con,
observe_con,
period,
gear,
flag,
ocean,
program,
observe_bycatch_path,
fao_area_file_path,
eez_area_file_path,
cwp_grid_1deg_1deg,
cwp_grid_5deg_5deg,
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.
list expected. Output of the function postgresql_dbconnection for a connection to the observe database.
integer expected. Year period for data extractions.
integer. Gear(s) selection for data extractions.
integer expected. Flag(s) selection for data extractions.
character expected. Ocean(s) of interest.
character expected. Programs of interest.
character expected. Directory path of the bycatch data extractions. Check this input with Philippe Sabarros (philippe.sabarros@ird.fr).
character expected. File path of the FAO area grid. The file format has to be .Rdata.
character expected. File path of the EEZ area grid. The file format has to be .Rdata.
character expected. File path of the CWP area grid of 1° by 1°. The file format has to be .Rdata.
character expected. File path of the CWP area grid of 5° by 5°. The file format has to be .Rdata.
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.