Skip to contents

Select only the indicated attributes from the flat table.

Usage

select_attributes(ft, attributes)

# S3 method for flat_table
select_attributes(ft, attributes)

Arguments

ft

A flat_table object.

attributes

A vector of names.

Value

A flat_table object.

Examples


ft <- flat_table('iris', iris) |>
  select_attributes(attributes = c('Species'))

ft <- flat_table('ft_num', ft_num) |>
  select_attributes(attributes = c('Year', 'WEEK', 'Week Ending Date'))