disambr_add_set_attr: Add disambr attribures to focal set from template set and...

View source: R/disambr_sets.r

disambr_add_set_attrR Documentation

Add disambr attribures to focal set from template set and update some of them

Description

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

Usage

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


stasvlasov/disambr documentation built on Aug. 10, 2022, 12:03 p.m.