This function controls the accuracy (decimals) of size samples. It returns a table containing samples with decimal values that are not rounded to the inferior centimeter (or to the nearest half centimeter for PD1 measurements).
round_size_control(
data_connection,
start_year,
end_year,
program,
ocean,
country_code,
path_file = NULL,
export_table
)
list expected. Either output of the function postgresql_dbconnection, which must be done before using the size_control.
integer expected. Starting year for the control.
integer expected. Ending year for the control.
character expected. Programs to be controlled. Example of the format for a program topiaid: "fr.ird.referential.ps.common.Program#1239832686262#0.31033946454061234".
character expected. Ocean to be controlled. Examples: 'Indian', 'Atlantic'...etc.
character expected. Countries on which control will be made. Examples: 'FRA', 'MUS'...etc.
character expected. By default NULL. Path to save the final xlsx.
logical expected. Save or not the xlsx table.
The function returns one xlsx table.
Version 1.0