SQL lives in inst/sql/getConceptInfo.sql.

getConceptInfo(conceptIds, connection, vocabularyDatabaseSchema)

Arguments

conceptIds

Integer vector of concept IDs.

connection

A DatabaseConnector connection to an OMOP CDM.

vocabularyDatabaseSchema

Schema containing the OMOP vocabulary tables. Required.

Value

A tibble with full concept table columns for the requested IDs.

See also

getConceptSetDetails, searchConcepts

Examples

if (FALSE) {
connection <- DatabaseConnector::connect(Eunomia::getEunomiaConnectionDetails())
getConceptInfo(c(313217L, 320128L), connection, vocabularyDatabaseSchema = "main")
}