Skip to contents

Validate an omop_table

Usage

validateOmopTable(
  omopTable,
  version = NULL,
  cast = FALSE,
  empty = TRUE,
  nm = deparse1(substitute(omopTable), backtick = TRUE),
  call = parent.frame()
)

Arguments

omopTable

An omop_table to check.

version

The version of the cdm.

cast

Whether to cast columns to the correct type.

empty

Whether it can be empty.

nm

Name to use in error messages. Defaults to the expression supplied to omopTable.

call

Call argument that will be passed to cli error message.

Value

An omop_table object.