convert_umlauts_to_ascii: Convert German Umlauts to a More or Less Suitable 'ascii'...

View source: R/convert_umlauts_to_ascii.R

convert_umlauts_to_asciiR Documentation

Convert German Umlauts to a More or Less Suitable 'ascii' Representation

Description

Convert German Umlauts to a More or Less Suitable 'ascii' Representation

Usage

convert_umlauts_to_ascii(x)

## S3 method for class 'character'
convert_umlauts_to_ascii(x)

## S3 method for class 'data.frame'
convert_umlauts_to_ascii(x)

Arguments

x

A string or data.frame.

Value

x with the umlauts converted to ascii.

See Also

Other German umlaut converters: convert_umlauts_to_tex()

Examples

string <- paste("this is \u00e4 string")
print(string)
print(convert_umlauts_to_ascii(string))
string <- paste("this is \u00e4 string")
df <- data.frame(v1 = c(string, "foobar"),
                 v2 = c("foobar", string), v3 = 3:4)
names(df)[3] <- "y\u00dfy"
convert_umlauts_to_ascii(df)

fritools documentation built on Nov. 19, 2023, 1:06 a.m.