Learn R Programming

OmopSketch (version 0.3.2)

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 gt or flextable object with the summarised data.

Arguments

result

Output from summariseOmopSnapshot().

type

Type of formatting output table, either "gt" or "flextable".

Examples

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

result <- summariseOmopSnapshot(cdm)

result |>
  tableOmopSnapshot()

PatientProfiles::mockDisconnect(cdm)
# }

Run the code above in your browser using DataLab