write_database,report_mig-method | R Documentation |
Daily values are needed to compare migrations from year to year, by the class report_mig_interannual-class. They are added by by this function.
## S4 method for signature 'report_mig'
write_database(object, silent = TRUE)
object |
an object of class report_mig |
silent |
: TRUE to avoid messages, FALSE will need interactive mode as it calls for menu() |
Nothing, just writes data into the database
the user is asked whether or not he wants to overwrite data only when silent is FALSE, if no data are present in the database, the import is done anyway.
Cedric Briand cedric.briand@eptb-vilaine.fr
## Not run:
stacomi(database_expected=FALSE)
data("r_mig")
r_mig<-calcule(r_mig)
write_database(report_mig=r_mig,silent=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.