init_idf_object: Initialize object data

View source: R/impl-idf.R

init_idf_objectR Documentation

Initialize object data

Description

Initialize object data

Usage

init_idf_object(
  idd_env,
  idf_env,
  class,
  property = NULL,
  underscore = FALSE,
  id = TRUE,
  name = TRUE
)

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.

class

An integer vector of valid class indexes or a character vector of valid class names. Default: NULL.

property

A character vector of column names in class table to return.

underscore

If TRUE, input class name will be converted into underscore style name first and column class_name_us will be used for matching. Default: FALSE.

id

If TRUE, new object IDs will be added in column object_id based on current existing objects found in idf_env. Default: TRUE.

name

If TRUE, column object_name and object_name_lower will be filled using make_idf_object_name(). Default: TRUE.

Value

A data.table::data.table()


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