Create R6 reference object class elementarycatch

Methods


Method new()

Initialize function for R6 activities class.

Usage

elementarycatch$new(
  activity_id,
  elementarycatch_id,
  ocean_code,
  school_type_code,
  weight_category_code,
  weight_category_label,
  species_code,
  species_fao_code,
  species_fate_code,
  catch_weight
)

Arguments

activity_id

Object of class character expected. Activity identification.

elementarycatch_id

Object of class character expected. Elementary catch identification.

ocean_code

Object of class integer expected. Ocean identification.

school_type_code

Object of class integer expected. School type identification.

weight_category_code

Object of class integer expected. Logbook weight category.

weight_category_label

Object of class character expected. Logbook category name identification.

species_code

Object of class integer expected. Species code identification.

species_fao_code

Object of class character expected. Species code identification on 3 characters.

species_fate_code

Object of class integer expected. Species fate code identification.

catch_weight

Object of class numeric expected. Catch weight in tonnes.


Method clone()

The objects of this class are cloneable with this method.

Usage

elementarycatch$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.