Skip to contents

Returns the names of the dimension table attributes as a string vector or in string form, so we can easily use it to rename them if deemed necessary.

Usage

get_table_attribute_names(td, as_string)

# S3 method for when
get_table_attribute_names(td, as_string = TRUE)

Arguments

td

A when object.

as_string

A boolean.

Value

A string.

Details

If the table has not been generated yet, returns the attributes it will contain when it is generated.

Examples


names <- when() |>
  get_table_attribute_names()