The choice_c method fills in the data slot for ref_dc, ref_taxa, ref_stage, and refref_timestep_daily and then uses the choice_c methods of these object to select the data.
# S4 method for report_mig
choice_c(object, dc, taxa, stage, datedebut, datefin)
An object of class report_mig-class with data selected
An object of class report_mig-class
A numeric or integer, the code of the dc, coerced to integer,see choice_c,ref_dc-method
Either a species name in latin or the SANDRE code for species (ie 2038=Anguilla anguilla), these should match the ref.tr_taxon_tax referential table in the stacomi database, see choice_c,ref_taxa-method
A stage code matching the ref.tr_stadedeveloppement_std table in the stacomi database see choice_c,ref_stage-method
The starting date as a character, formats like %Y-%m-%d
or %d-%m-%Y
can be used as input
The finishing date of the report, for this class this will be used to calculate the number of daily steps.
Cedric Briand cedric.briand@eptb-vilaine.fr