Skip to contents

Returns the current columns list from the spec. For TableSpec, this includes the base columns plus any add_columns. For SummarySpec, columns are already merged with add_columns in construction.

Usage

get_spec_columns(spec)

Arguments

spec

A TableSpec or SummarySpec object

Value

Character vector of column names

Examples

spec <- TableSpec()
get_spec_columns(spec)
#> [1] "name"        "symbol"      "unit"        "estimate"    "variability"
#> [6] "ci_low"      "ci_high"     "rse"         "shrinkage"