Skip to contents

This block provides access to summarize verb and returns a dataframe with the transformed columns.

Usage

new_summarize_block(
  func = character(),
  default_columns = character(),
  submit = NA,
  ...
)

Arguments

func

Summarize function to apply.

default_columns

If you know in advance each function to apply, you can also pass predefined selected column for each summary. Therefore when not of length 0, columns should have the same length as func.

submit

Whether this block requires to press a submit button to get the results. Boolean, default to FALSE, which means no submit button. If NA, then no computation is triggered and the user needs to click on the button to see the block result. If TRUE, computation is automatically triggered and the button is shown (which is useful when restoring a stack).

...

Further (metadata) attributes