findOrphanConcepts: Get all the domain id(s) in the vocabulary schema.

View source: R/FindOrphanConcepts.R

findOrphanConceptsR Documentation

Get all the domain id(s) in the vocabulary schema.

Description

Get all the domain id(s) in the vocabulary schema.

Usage

findOrphanConcepts(
  connectionDetails = NULL,
  connection = NULL,
  vocabularyDatabaseSchema = "vocabulary",
  tempEmulationSchema = getOption("sqlRenderTempEmulationSchema"),
  conceptIds
)

Arguments

connectionDetails

An object of type connectionDetails as created using the createConnectionDetails function in the DatabaseConnector package. Can be left NULL if connection is provided.

connection

An object of type connection as created using the connect function in the DatabaseConnector package. Can be left NULL if connectionDetails is provided, in which case a new connection will be opened at the start of the function, and closed when the function finishes.

vocabularyDatabaseSchema

The schema name of containing the vocabulary tables.

tempEmulationSchema

Some database platforms like Oracle and Impala do not truly support temp tables. To emulate temp tables, provide a schema with write privileges where temp tables can be created.

conceptIds

an array of conceptIds that are used as reference to search for orphan concepts

Value

Returns a tibble data frame.


OHDSI/ConceptSetDiagnostics documentation built on Feb. 26, 2023, 1:31 a.m.