choice_c-report_sample_char-method: command line interface for report_sample_char class

choice_c,report_sample_char-methodR Documentation

command line interface for report_sample_char class

Description

#' The choice_c method fills in the data slot for classes ref_dc-class, ref_taxa-class, ref_stage-class, ref_par-class and two slots of ref_horodate-class and then uses the choice_c methods of these object to select the data.

Usage

## S4 method for signature 'report_sample_char'
choice_c(
  object,
  dc,
  taxa,
  stage,
  par,
  horodatedebut,
  horodatefin,
  silent = FALSE
)

Arguments

object

An object of class report_sample_char-class

dc

A numeric or integer, the code of the dc, coerced to integer,see choice_c,ref_dc-method

taxa

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

stage

A stage code matching the ref.tr_stadedeveloppement_std table in the stacomi database, see choice_c,ref_stage-method

par

A parameter matching th ref.tg_parametre_par table in the stacomi database, see choice_c,ref_par-method

horodatedebut

The starting date as a character, formats like %Y-%m-%d or %d-%m-%Y can be used as input

horodatefin

The finishing date of the report, for this class this will be used to calculate the number of daily steps.

silent

Boolean, if TRUE, information messages are not displayed

Value

An object of class report_mig-class with data selected

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr


stacomiR documentation built on May 29, 2024, 10:41 a.m.