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-11-21
Person count 10
Vocabulary version -
Observation period
N 10
Start date 1967-09-25
End date 2019-11-11
Cdm
Source name mock
Version 5.3
Holder name -
Release date -
Description -
Documentation reference -
Source type duckdb
PatientProfiles::mockDisconnect(cdm)