Skip to contents

Ensure that email address is in a standard format.

Usage

normalise(email)

Arguments

email

An email address.

Value

An email address.

Details

Performs the following transformations:

  • lowercase the domain part

  • replace some Unicode characters with compatible equivalents. See Unicode equivalence.

Examples

normalise("bob@GMAIL.COM")
#> [1] "bob@gmail.com"