Learn R Programming

stacomiR (version 0.6.1)

connect,report_mig_interannual-method: 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 report_mig_interannual
connect(object, silent = FALSE, check = TRUE)

Value

report_mig_interannual an instantiated object with values filled with user choice

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

Author

Cedric Briand cedric.briand@eptb-vilaine.fr