standardize_idf_value: Standardize Value Data

View source: R/impl-idf.R

standardize_idf_valueR Documentation

Standardize Value Data

Description

Standardize Value Data

Usage

standardize_idf_value(
  idd_env,
  idf_env,
  dt_value,
  type = c("choice", "reference"),
  keep = 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.

dt_value

An data.table of object field values.

type

A character vector to specify what type of values to be standardized. Should be a subset of c("choice", "reference"). Default: c("choice", "reference").

keep

If TRUE, the original value will be kept even if it is invalid. If FALSE, invalid values will be converted into NAs. Default: TRUE.

Value

A data.table


eplusr documentation built on Aug. 25, 2023, 5:18 p.m.