Identifies in the observer data cases where fate code 9 (other) or 11 (discarded unknown) were used.
fate_unknown_control(
data_connection,
start_year,
end_year,
program,
ocean,
country_code,
path_file = NULL
)
list expected. Either output of the function postgresql_dbconnection, which must be done before using the fate_control.
integer expected. Starting year for the control.
integer expected. Ending year for the control.
character expected. Programs to be controlled.
character expected. Ocean to be controlled.
character expected. Countries for which control will be made.
character expected. Path to save the final xlsx with all the informations for the correction.
The function returns two xlsx tables, one for the catch and one for the samples.
Version 1.0