This is a convenience function that allows users to join to a reference
vocabulary table (most likely the OMOP concept table). It is intended
to pull in the full name of a concept and facilitate the review of results.
Arguments
- tbl
tabular input || required
A table to which the vocabulary table should be joined
- vocab_tbl
tabular input || required
The reference vocabulary table (ex: the OMOP
concepttable). This table should minimally contain the providedvocab_col,concept_name, andvocabulary_id- col
string || required
The name of the column in
tblthat should be used in thebystatement to join to thevocab_colin the vocabulary table- vocab_col
string || defaults to
concept_idThe name of the column in
vocab_tblthat should be used in thebystatement to join to thecolin the provided data table
Value
This function will return the dataframe provided in tbl with the
addition of the concept_name associated with each concept