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()
Estimate
Database name
mockOmopSketch
General
Snapshot date 2024-12-22
Person count 10
Vocabulary version -
Observation period
N 10
Start date 1973-12-25
End date 2016-11-25
Cdm
Source name mock
Version 5.3
Holder name -
Release date -
Description -
Documentation reference -
Source type duckdb
PatientProfiles::mockDisconnect(cdm)