Learn R Programming

OmopSketch (version 0.5.1)

tableOmopSnapshot: Create a visual table from a summarise_omop_snapshot result.

Description

Create a visual table from a summarise_omop_snapshot result.

Usage

tableOmopSnapshot(result, type = "gt")

Value

A formatted table object with the summarised data.

Arguments

result

Output from summariseOmopSnapshot().

type

Type of formatting output table. See visOmopResults::tableType() for allowed options. Default is "gt".

Examples

Run this code
# \donttest{
cdm <- mockOmopSketch(numberIndividuals = 10)

result <- summariseOmopSnapshot(cdm = cdm)

tableOmopSnapshot(result = result)

PatientProfiles::mockDisconnect(cdm)
# }

Run the code above in your browser using DataLab