Learn R Programming

fritools (version 3.3.0)

convert_umlauts_to_ascii: 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 character convert_umlauts_to_ascii(x)

# S3 method for 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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab