concept_ancestors | R Documentation |
Wrapper functions of api_concepts
that fetch ancestors
or descendants of one or several concept identifiers using full SNOMED CT
inference.
Note: these functions can only fetch active concepts.
concept_ancestors( conceptIds, include_self = FALSE, encoding = "UTF-8", silent = FALSE, ... ) concept_descendants( conceptIds, include_self = FALSE, encoding = "UTF-8", silent = FALSE, ... )
conceptIds |
a character vector of concept identifiers |
include_self |
a logical vector indicating whether the |
encoding |
HTTP charset parameter to use (default is |
silent |
whether to hide progress bar. Default is |
... |
other valid arguments to function |
a named list of data frames
In order to use SNOMED CT, a licence is required which depends both on the country you are based in, and the purpose of your work. See details on snomedizer.
Other wrapper:
concept_descriptions()
,
concept_find()
,
release_version()
pneumonia_ancestors <- concept_ancestors(conceptIds = "233604007") # This will trigger a warning using the default limit set by snomedizer_options_get("limit") pneumonia_concepts <- concept_descendants(conceptIds = "233604007") # Raising the limit pneumonia_concepts <- concept_descendants(conceptIds = "233604007", limit = 300) head(pneumonia_concepts$`233604007`)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.