Create R6 reference object class elementarycatch

Methods


Method new()

Initialize function for R6 activities class.

Usage

elementarycatch$new(
  activity_id,
  elementarycatch_id,
  ocean,
  school_type,
  logbook_category,
  logbook_category_name,
  specie_code,
  specie_code3l,
  catch_weight
)

Arguments

activity_id

Object of class character expected. Activity identification.

elementarycatch_id

Object of class character expected. Elementary catch identification.

ocean

Object of class integer expected. Ocean identification.

school_type

Object of class integer expected. School type identification.

logbook_category

Object of class integer expected. Logbook weight category.

logbook_category_name

Object of class character expected. Logbook category name identification.

specie_code

Object of class integer expected. Specie code identification.

specie_code3l

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

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.