getRecommendedSource: given a list of non standard conceptIds, get recommended...

View source: R/GetRecommendedSource.R

getRecommendedSourceR Documentation

given a list of non standard conceptIds, get recommended conceptIds

Description

given a list of non standard conceptIds, get recommended conceptIds

Usage

getRecommendedSource(
  conceptIds,
  vocabularyDatabaseSchema = "vocabulary",
  connection = NULL,
  connectionDetails = NULL,
  conceptPrevalenceSchema = "concept_prevalence",
  tempEmulationSchema = getOption("sqlRenderTempEmulationSchema")
)

Arguments

conceptIds

An array of Concept ids.

vocabularyDatabaseSchema

The schema name of containing the vocabulary tables.

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.

connectionDetails

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

conceptPrevalenceSchema

The schema name that has the concept prevalence table. The following tables are expected to be present. recommender_set, cp_master, recommended_blacklist.

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.


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