Skip to contents

Table functions

Main functions

visOmopTable()
Generate a formatted table from a <summarised_result>
visTable()
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
formatMinCellCount()
To indicate which was the minimum cell counts where estimates have been suppressed.
formatTable()
Creates a flextable or gt object from a dataframe

Helper table functions

emptyTable()
Returns an empty table
setGlobalTableOptions()
Set format options for all subsequent tables
tableColumns()
Columns for the table functions
tableOptions()
Additional table formatting options for visOmopTable() and visTable()
tableStyle()
Pre-defined styles are available for tables
tableStyleCode()
Supported predefined style codes for formatted tables
tableType()
Supported table classes

Plot functions

barPlot()
Create a bar plot visualisation from a <summarised_result> object
boxPlot()
Create a box plot visualisation from a <summarised_result> object
emptyPlot()
Returns an empty plot
scatterPlot()
Create a scatter plot visualisation from a <summarised_result> object

Helper plot functions

plotColumns()
Columns for the plot functions
plotStyle()
Pre-defined styles are available for plots
plotType()
Supported plot types
setGlobalPlotOptions()
Set format options for all subsequent plots
themeVisOmop()
Apply a pre-defined visOmopResults theme to a ggplot

Other functionalities

To style text

customiseText()
Apply styling to text or column names

To get extra fonts

requireExtrafont()
Get Calibri font for "darwin" plot style

Mock <summarised_result>

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