get_german_umlauts: Get German Umlauts

View source: R/get_german_umlauts.R

get_german_umlautsR Documentation

Get German Umlauts

Description

I often need German umlauts in reporting. So I need either a UTF-8 or LaTeX representation.

Usage

get_german_umlauts(
  which = NULL,
  type = c("utf-8", "latex"),
  strip_names = TRUE
)

Arguments

which

A character vector specifying a subset of the result vector.

type

UTF-8 or LaTeX?

strip_names

Return an unnamed vector?

Value

A (possibly named) vector of UTF-8 representations of german umlauts.

See Also

Other German umlaut converters: convert_umlauts_to_ascii(), convert_umlauts_to_tex()

Examples

get_german_umlauts()
get_german_umlauts(type = "latex")
get_german_umlauts(strip_names = FALSE)
get_german_umlauts(which = c("sz", "Ae"))
try(get_german_umlauts(which = c("sz", "foo", "Ae", "bar")))
paste0("Cologne is K", get_german_umlauts("oe"), "ln. In LaTeX it's K",
       get_german_umlauts("oe", "latex"), "ln")

fritools documentation built on June 8, 2025, 11:59 a.m.