Skip to contents

check c_id arg to omop_ancestors() and omop_descendants() TODO want to not export but couldn't get to work when not exported

Usage

check_c_id(c_id)

Arguments

c_id

arg to check : single omop concept_id or exact concept_name to get ancestors of

Examples

# example code
c_id <- 1633308
check_c_id(c_id)
#> Warning: downloading a subset of omop vocab files, pre-processed.
#> If you want to make sure you have the vocabs you need, download from Athena, save locally & call `omop_vocabs_preprocess()`
#> downloading concept file, may take a few minutes, this only needs to be repeated if the package is re-installed
#>      c_id             name1
#> 1 1633308 AJCC/UICC Stage 4