purge_idf_object {eplusr}R Documentation

Purge not-used resource objects

Description

Purge not-used resource objects

Usage

purge_idf_object(idd_env, idf_env, dt_object)

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.

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.


[Package eplusr version 0.16.2 Index]