Skip to contents

Create a gt table from a summarised omop snapshot

Usage

tableOmopSnapshot(result)

Arguments

result

Output from summariseOmopSnapshot()

Value

A gt object with the summarised data.

Examples

# \donttest{
library(dplyr)
library(OmopSketch)

cdm <- mockOmopSketch(numberIndividuals = 1000)

cdm |>
  summariseOmopSnapshot() |>
  tableOmopSnapshot()
#> ! Results have not been suppressed.
Estimate Database name
mockOmopSketch
General
Snapshot date 2024-09-18
Person count 1,000
Vocabulary version -
Observation period
N 1,000
Start date 1951-06-03
End date 2020-01-01
Cdm
Source name mock
Version 5.3
Holder name -
Release date -
Description -
Documentation reference -
Source type duckdb
PatientProfiles::mockDisconnect(cdm) # }