getSourceConcepts: Get source concepts that map to standard concepts

View source: R/Concept.R

getSourceConceptsR Documentation

Get source concepts that map to standard concepts

Description

Get source concepts that map to standard concepts

Usage

getSourceConcepts(
  conceptIds,
  baseUrl,
  vocabularySourceKey = NULL,
  snakeCaseToCamelCase = TRUE
)

Arguments

conceptIds

A list of concept IDs referring to standard concepts.

baseUrl

The base URL for the WebApi instance, for example: "http://server.org:80/WebAPI".

vocabularySourceKey

The source key of the Vocabulary. By default, the priority Vocabulary is used.

snakeCaseToCamelCase

Should the column names of the result be converted to camelCase?

Value

A tibble containing information on the source concepts.

Examples

## Not run: 
conceptSet <- getConceptSetDefinition(conceptSetId = 282,
                                      baseUrl = "http://server.org:80/WebAPI")
conceptIds <- resolveConceptSet(conceptSet = conceptSet, baseUrl = "http://server.org:80/WebAPI")
sourceConcepts <- getSourceConcepts(conceptIds = conceptIds,
                                    baseUrl = "http://server.org:80/WebAPI")

## End(Not run)


OHDSI/ROhdsiWebApi documentation built on March 15, 2023, 1:23 p.m.