Learn R Programming

OmopSketch (version 1.0.0)

summarisePerson: Summarise person table

Description

Summarise person table

Usage

summarisePerson(cdm)

Value

A summarised_result object with the results.

Arguments

cdm

A cdm_reference object. Use CDMConnector to create a reference to a database or omock to create a reference to synthetic data.

Examples

Run this code
# \donttest{
library(OmopSketch)
library(dplyr, warn.conflicts = FALSE)
library(omock)

cdm <- mockCdmFromDataset(datasetName = "GiBleed", source = "duckdb")

result <- summarisePerson(cdm = cdm)

tablePerson(result = result)

cdmDisconnect(cdm = cdm)
# }

Run the code above in your browser using DataLab