printReactable: prints a reactable in a quarto document

View source: R/Helpers.R

printReactableR Documentation

prints a reactable in a quarto document

Description

This function lets you print a reactable in a quarto document

Usage

printReactable(
  data,
  columns = NULL,
  groupBy = NULL,
  defaultPageSize = 20,
  highlight = TRUE,
  striped = TRUE
)

Arguments

data

The data for the table

columns

The formating for the columns

groupBy

A column or columns to group the table by

defaultPageSize

The number of rows in the table

highlight

whether to highlight the row of interest

striped

whether the rows change color to give a striped appearance

Details

Input the values for reactable::reactable

Value

Nothing but the html code for the table is printed (to be used in a quarto document)

See Also

Other helper: getExampleConnectionDetails(), kableDark(), removeSpaces()

Examples

printReactable(
data = data.frame(a=1,b=4)
)


OhdsiReportGenerator documentation built on April 12, 2025, 2:09 a.m.