cldr_character_labels: Get localized values from the character_labels dataset

View source: R/get_values.R

cldr_character_labelsR Documentation

Get localized values from the character_labels dataset

Description

The character_labels table contains information on character patterns and character labels across 574 locales. The cldr_character_labels() function allows one to extract element values from the table by supplying the locale and one of the following element names:

  • "patterns": corresponds to the character_label_patterns column in character_labels

  • "labels": is the character_labels column in character_labels

Usage

cldr_character_labels(locale = "en", element = c("patterns", "labels"))

Arguments

locale

The locale ID for which to obtain the data from the character_labels table.

element

The element from which information will be obtained for the specified locale.

Value

A named list.


rich-iannone/i18n documentation built on July 5, 2023, 11:01 a.m.