dup_idf_object: Duplicate existing objects

View source: R/impl-idf.R

dup_idf_objectR Documentation

Duplicate existing objects

Description

Duplicate existing objects

Usage

dup_idf_object(
  idd_env,
  idf_env,
  dt_object,
  level = eplusr_option("validate_level")
)

Arguments

idd_env

An environment or list contains IDD tables including class, field, and reference.

idf_env

An environment or list contains IDF tables including object, value, and reference.

dt_object

A data.table::data.table() that contains object data.

level

Validate level. Default: eplusr_option("validate_level").

Value

The modified Idf data in a named list of 5 elements, i.e. object, value, reference, changed and updated. First 3 elements are data.table::data.table()s containing the actual updated Idf data while changed and updated are integer vectors containing IDs of objects that have been directly changed and indirectly updated due to references, respectively.


hongyuanjia/eplusr documentation built on Feb. 14, 2024, 5:38 a.m.