It adds attributes by reference (with setattr data.table), i.e. without making a copy

disambr_add_set_attr(
  focal_set,
  template_set = NULL,
  ...,
  attr_names_prefix = "disambr_set_"
)

Arguments

focal_set

Set

template_set

Set to inhirit attributes from

...

Arguments passed on to disambr_set_attr

check_attr_names_prefix

Whether to check for short names of attributes. See attr_names_prefix.

attr_names_prefix

"disambr_set_" by default. Only prefixed by it will be copied from template_set

Details

It updates:

  • time stamp (disambr_set_st) to current

  • disambr_set_file to NULL

  • adds to disambr_set_recipe the calling procedure

  • adds disambr_set_duration