Takes a Coding column as its input. Returns a Column that contains the canonical display name associated with the given code.

tx_display(coding, accept_language = NULL)

Arguments

coding

A Column containing a struct representation of a Coding.

accept_language

The optional language preferences for the returned display name. Overrides the parameter `accept_language` in pathling_connect.

Value

A Column containing the result of the operation (String).

Examples

if (FALSE) { # \dontrun{
# Get the display name of the first coding of the Condition resource, with the default language.
pc %>% pathling_example_resource('Condition') %>%
     sparklyr::mutate(
         id, 
         display = !!tx_display(code[['coding']][[0]]), 
         .keep='none')
} # }