Identifies in the Observer data all the occurrences of observations with a number of samples superior to the number of catches.

more_samples_than_count(
  data_connection,
  start_year,
  end_year,
  program,
  ocean,
  country_code,
  path_file = NULL
)

Arguments

data_connection

list expected. Either output of the function postgresql_dbconnection, which must be done before using the more_samples_than_count

start_year

integer expected. Starting year for the control.

end_year

integer expected. Ending year for the control.

program

character expected. Programs to be controlled. Example of the format for a program topiaid: "fr.ird.referential.ps.common.Program#1239832686262#0.31033946454061234"

ocean

character expected. Ocean to be controlled. Examples: 'Indian', 'Atlantic'...etc.

country_code

character expected. Countries on which control will be made. Examples: 'FRA', 'MUS'...etc.

path_file

character expected. Path to save the final xlsx.

Value

The function return a xlsx table.