Process for generation and optionally extraction of the RDBES table CE (Commercial Effort).

rdbes_ce(
  observe_con,
  balbaya_con,
  fao_area_file_path,
  eez_area_file_path,
  year_time_period,
  flag,
  major_fao_area_filter = NULL,
  hash_algorithms = NULL,
  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 CEencrypVesIds variable. You can choose any modality of the argument "algo" or the function digest.

encrypted_vessel_code_separator

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

export_path

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

Value

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