concept_descriptions: Fetch descriptions of one or more concepts

View source: R/wrapper.R

concept_descriptionsR Documentation

Fetch descriptions of one or more concepts

Description

This function is a wrapper of api_descriptions that fetches description of one or several concept identifiers.

Usage

concept_descriptions(
  conceptIds,
  encoding = "UTF-8",
  silent = FALSE,
  limit = snomedizer_options_get("limit"),
  ...
)

Arguments

conceptIds

a character vector of concept identifiers

encoding

HTTP charset parameter to use. Default is "UTF-8".

silent

whether to hide progress bar. Default is FALSE.

limit

a positive integer for the maximum number of results to return. See snomedizer_options. The maximum limit on public endpoints is 10,000.

...

other optional arguments listed in api_operations, such as endpoint, branch or limit

Value

a named list of data frames sorted by conceptIds

Note

Duplicate conceptIds will be removed.

Disclaimer

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.

See Also

Other wrapper: concept_ancestors(), concept_find(), release_version()

Examples

pneumonia_descriptions <- concept_descriptions(conceptIds = "233604007")
str(pneumonia_descriptions)

ramses-antibiotics/snomedizer documentation built on July 12, 2022, 12:42 a.m.