Skip to contents

Adds columns to the spec's drop_columns list. These columns will be excluded from the output table.

Usage

drop_spec_columns(spec, ...)

Arguments

spec

A TableSpec or SummarySpec object

...

Column names to drop (character strings)

Value

Modified spec

Examples

spec <- TableSpec() |>
  drop_spec_columns("unit", "symbol")

sum_spec <- SummarySpec() |>
  drop_spec_columns("description")