normalise: Normalise email address

View source: R/address.R

normaliseR Documentation

Normalise email address

Description

Ensure that email address is in a standard format.

Usage

normalise(email)

Arguments

email

An email address.

Details

Performs the following transformations:

  • lowercase the domain part

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

Value

An email address.

Examples

normalise("bob@GMAIL.COM")

emayili documentation built on Aug. 30, 2023, 5:12 p.m.