printReactable {OhdsiReportGenerator} | R 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,
searchable = TRUE,
filterable = 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 |
searchable |
whether you can search in the table |
filterable |
whether you can filter the table |
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:
addTarColumn()
,
formatBinaryCovariateName()
,
getExampleConnectionDetails()
,
kableDark()
,
removeSpaces()
Examples
printReactable(
data = data.frame(a=1,b=4)
)
[Package OhdsiReportGenerator version 1.1.1 Index]