Skip to contents

Snapshots

Create snapshots of OMOP databases

summariseOmopSnapshot()
Summarise a cdm_reference object creating a snapshot with the metadata of the cdm_reference object.
tableOmopSnapshot()
Create a visual table from a summarise_omop_snapshot result.

Clinical Tables

Summarise and plot tables in the OMOP Common Data Model

summariseClinicalRecords()
Summarise an omop table from a cdm object. You will obtain information related to the number of records, number of subjects, whether the records are in observation, number of present domains and number of present concepts.
tableClinicalRecords()
Create a visual table from a summariseClinicalRecord() output.
summariseRecordCount()
Summarise record counts of an omop_table using a specific time interval. Only records that fall within the observation period are considered.
plotRecordCount()
Create a ggplot of the records' count trend.
summariseMissingData()
Summarise missing data in omop tables
tableMissingData()
Create a visual table from a summariseMissingData() result.

Observation Periods

Summarise and plot the observation period table in the OMOP Common Data Model

summariseObservationPeriod()
Summarise the observation period table getting some overall statistics in a summarised_result object.
plotObservationPeriod()
Create a plot from the output of summariseObservationPeriod().
tableObservationPeriod()
Create a visual table from a summariseObservationPeriod() result.
summariseInObservation()
Summarise the number of people in observation during a specific interval of time.
plotInObservation()
Create a ggplot2 plot from the output of summariseInObservation().

Counts

Summarise concept code use in the OMOP Common Data Model

summariseConceptSetCounts()
Summarise concept counts in patient-level data. Only concepts recorded during observation period are counted.
plotConceptSetCounts()
Plot the concept counts of a summariseConceptSetCounts output.
summariseConceptIdCounts()
Summarise concept use in patient-level data
tableConceptIdCounts()
Create a visual table from a summariseConceptIdCounts() result.

Mock Database

Create a mock database to test the OmopSketch package

mockOmopSketch()
Creates a mock database to test OmopSketch package.

Deprecated functions

These functions have been deprecated

summariseConceptCounts() deprecated
Summarise concept counts in patient-level data. Only concepts recorded during observation period are counted.