tableOmopSnapshot {OmopSketch}R Documentation

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")

Arguments

result

Output from summariseOmopSnapshot().

type

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

Value

A gt or flextable object with the summarised data.

Examples

cdm <- mockOmopSketch(numberIndividuals = 10)

result <- summariseOmopSnapshot(cdm)

result |>
  tableOmopSnapshot()

PatientProfiles::mockDisconnect(cdm)

[Package OmopSketch version 0.2.0 Index]