R/data.R

#' Language codes
#'
#' Comprehensive table of language names and codes.
#'
#' \itemize{
#'   \item locale - Equivalent regional locale, if one exists.
#'   \item variant - Equivalent script variant, if one exists.
#'   \item ISO639.1 - \href{https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes}{ISO 639-1} language code.
#'   \item ISO639.2T - \href{https://en.wikipedia.org/wiki/ISO_639-2}{ISO 639-2T} language code.
#'   \item ISO639.2B - \href{https://en.wikipedia.org/wiki/ISO_639-2}{ISO 639-2B} language code.
#'   \item ISO639.3 - \href{https://en.wikipedia.org/wiki/ISO_639-3}{ISO 639-3} language code.
#'   \item ISO639.6 - \href{https://en.wikipedia.org/wiki/ISO_639-6}{ISO 639-6} language code.
#'   \item wikipedia - \href{https://en.wikipedia.org/wiki/List_of_Wikipedias}{Wikipedia} language code.
#'   \item other - Alternative language code.
#'   \item autonym - Name(s) for the language in the language.
#'   \item en - English name(s) for the language.
#'   \item fr - French name(s) for the language.
#'   \item de - German name(s) for the language.
#'   \item ru - Russian name(s) for the language.
#'   \item it - Italian name(s) for the language.
#'   \item zh - Chinese name(s) for the language.
#'   \item ISO639.3_macro - \href{https://en.wikipedia.org/wiki/ISO_639_macrolanguage}{ISO 639-3 macrolanguage}.
#'   \item scope - Language scope (\code{"individual"}, \code{"macro"}, \code{"collective"}, or \code{"special"}).
#'   \item type - Language type (\code{"living"}, \code{"ancient"}, \code{"historical"}, \code{"extinct"}, \code{"constructed"}, or \code{"special"}).
#'   \item family - Family to which the language belongs.
#'   \item retired - Whether the language has been retired.
#'   \item wikpipedia_url - URL to the wikipedia article for the language.
#'   \item notes - Additional notes.
#' }
#'
#' @format A \code{data.table}.
#' @name Language_codes
#' @family constants
NULL

#' Unicode characters by locale
#'
#' \itemize{
#'   \item zh_hant: Traditional chinese characters (\url{https://github.com/jpatokal/script_detector/blob/master/lib/chinese_detector.rb})
#'   \item zh_hans: Simplified chinese characters (\url{https://github.com/jpatokal/script_detector/blob/master/lib/chinese_detector.rb})
#' }
#'
#' @format A named list of character vectors.
#' @name Unicode
#' @family constants
NULL
falling-fruit/fruitr documentation built on Dec. 21, 2024, 8:32 p.m.