Skip to contents

Construct a single list-row with the correct columns and types for a variable format data.frame.

Usage

new_varformat_data_row(
  label,
  level,
  parent = NA_character_,
  subset_info = list(subsets = NA_character_, type = c(exhaustive = NA, disjoint = NA),
    label = NA_character_),
  code = NULL
)

Arguments

label

character(1): Label for this item.

level

integer(1): Hierarchy level of this item (top level = 1).

parent

character(1): Parent label if applicable, else NA.

subset_info

list(3): List with slots subsets, type and label.

code

list(1): Unevaluated calls defining the filter condition for this label.

Value

A list of length 5 with entries as specified above.