Skip to contents

Table functions

Main functions

visOmopTable()
Format a <summarised_result> object into a gt, flextable, or tibble object
visTable() experimental
Generate a formatted table from a <data.table>

Additional table formating functions

formatEstimateName()
Formats estimate_name and estimate_value column
formatEstimateValue()
Formats the estimate_value column
formatHeader()
Create a header for gt and flextable objects
formatTable()
Creates a flextable or gt object from a dataframe

Helper table functions

emptyTable() experimental
Returns an empty table
tableColumns()
Columns for the table functions
tableOptions()
Additional table formatting options for visOmopTable() and visTable()
tableStyle()
Supported predefined styles for formatted tables
tableType()
Supported table classes

Plot functions

barPlot() experimental
Create a bar plot visualisation from a <summarised_result> object
boxPlot() experimental
Create a box plot visualisation from a <summarised_result> object
scatterPlot() experimental
Create a scatter plot visualisation from a <summarised_result> object

Helper plot functions

plotColumns()
Columns for the plot functions
themeVisOmop()
Apply visOmopResults default styling to a ggplot

Other functionalities

To style text

customiseText()
Apply styling to text or column names

Mock <summarised_result>

mockSummarisedResult()
A <summarised_result> object filled with mock data