replace_umlaute: Replaces german umlaute

View source: R/replace_umlaute.R

replace_umlauteR Documentation

Replaces german umlaute

Description

This function replaces german umlaute in an appropriate way to avoid issues with special characters. In addition, user defined elements can be replaced by an desired element, too.

Usage

replace_umlaute(names, and = c("-", " "), by = c("_"))

Arguments

names

Character vector that contains german umlaute.

and

Character vector.If not NULL the vector "and" (default: c("-"," ")) will be replaced by the element "by"

by

Character element. Set to NULL, if no replacement is desired.

Value

Returns a character vector with replaced german umlaute.

Author(s)

Dennis Freuer


freuerde/puzzle documentation built on March 27, 2022, 5:30 p.m.