Skip to contents

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()
#> ! Results have not been suppressed.
Estimate Database name
mockOmopSketch
General
Snapshot date 2024-09-26
Person count 10
Vocabulary version -
Observation period
N 10
Start date 1967-02-15
End date 2018-11-16
Cdm
Source name mock
Version 5.3
Holder name -
Release date -
Description -
Documentation reference -
Source type duckdb
PatientProfiles::mockDisconnect(cdm)