Process for generation and optionally extraction of the RDBES table CL (Commercial Landing).

rdbes_cl(
  observe_con,
  balbaya_con,
  fao_area_file_path,
  eez_area_file_path,
  year_time_period,
  flag,
  major_fao_area_filter = NULL,
  hash_algorithms = NULL,
  digit_accuracy = 1L,
  encrypted_vessel_code_separator = ", ",
  export_path = NULL
)

Arguments

observe_con

list expected. Output of the function postgresql_dbconnection for a connection to the observe database.

balbaya_con

list expected. Output of the function postgresql_dbconnection for a connection to the balbaya database.

fao_area_file_path

character expected. File path of the FAO area grid. The file format has to be .Rdata or .RData extension.

eez_area_file_path

character expected. File path of the EEZ area grid. The file format has to be .Rdata or .RData extension.

year_time_period

integer expected. Year(s) selected associated to the databases queries extractions.

flag

integer expected. Flag(s) selected associated to the databases queries extractions.

major_fao_area_filter

integer expected. By default NULL. Sub selection of major fao area.

hash_algorithms

integer expected. By default NULL. The hashing algorithms to be used for the CLencrypVesIds variable. You can choose any modality of the argument "algo" or the function digest.

digit_accuracy

integer expected. By default 1. Indicating the number of decimal places to be used.

encrypted_vessel_code_separator

character expected. By default ", ". Which separator you want to use for the CLencrypVesIds variable.

export_path

character expected. By default NULL. Directory path associated for the export.

Value

A R object with the RDBES table CL with potentially a csv extraction associated.