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. See visOmopResults::tableType() for allowed options. Default is "gt".

Value

A formatted table object with the summarised data.

Examples

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

result <- summariseOmopSnapshot(cdm = cdm)
#> Warning: Vocabulary version in cdm_source (NA) doesn't match the one in the vocabulary
#> table (v5.0 18-JAN-19)

tableOmopSnapshot(result = result)
Estimate
Database name
mockOmopSketch
General
Snapshot date 2025-07-04
Person count 10
Vocabulary version v5.0 18-JAN-19
Observation period
N 10
Start date 1979-02-02
End date 2019-05-14
Cdm
Source name eunomia
Version 5.3
Holder name -
Release date -
Description -
Documentation reference -
Source type duckdb
PatientProfiles::mockDisconnect(cdm) # }