Get columns from a spec
get_spec_columns.RdReturns 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.
Examples
spec <- TableSpec()
get_spec_columns(spec)
#> [1] "name" "symbol" "unit" "estimate" "variability"
#> [6] "ci_low" "ci_high" "rse" "shrinkage"