connect-report_mig_interannual-method: connect method for report_mig_interannual

connect,report_mig_interannual-methodR Documentation

connect method for report_mig_interannual

Description

This method will check if the data in the t_reportjournalier_bjo table has no missing data, if missing the program will load missing data. As a second step, the program will check if the numbers in the table t_reportjournalier_bjo differ from those in the database, and propose to re-run the report_mig (which has a write_database methode to write daily reports) for those years.

Usage

## S4 method for signature 'report_mig_interannual'
connect(object, silent = FALSE, check = TRUE)

Arguments

object

An object of class report_mig_interannual-class

silent

Stops messages from being displayed if silent=TRUE, default FALSE

check

Checks that data are corresponding between report_annual and report_mig

Value

report_mig_interannual an instantiated object with values filled with user choice

Note

We expect different results between daily reports from the t_reportjournalier_bjo table and the annual sums from report_annual for glass eels as those may have been weighted and not only counted. The t_reportjournalier_bjo table used by report_mig_interannual contains the sum of glass eel numbers converted from weights and those directly counted. The report_annual does not.

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr


stacomiR documentation built on July 18, 2022, 5:09 p.m.