Skip to contents

A helper function to map a vector of concept ID(s) to a vector of concept name(s).

Usage

get_concept_names(concept_ids, concept_table)

Arguments

concept_ids

The concept ID(s) of interest which can be a single concept_id, or a vector of concept_id's.

concept_table

The concept table (for pulling names).

Value

A list of concept names.

See also

  • add_children() to add child concept ID(s) to a vector of parent concept ID(s).

  • add_synonyms() to add synonym concept ID(s) to a vector of concept ID(s).

Examples

if (FALSE) { # \dontrun{
get_concept_names(
  concept_ids = c('f4fadfb7-f4d2-530f-b950-ca8cc854f70e', 'ed93336c-c192-5748-9adf-f61703dccb19'), 
  concept_table = ds$concept
)
} # }