schr_clean_pii: Standardizes names, emails, and phone numbers

Description Usage Arguments Value Examples

View source: R/searchr_clean_pii.R

Description

Performs simple preparation of email, customer name, and phone data by standardizing input data for US locale and removing common problems specific to those data types. Run prior to calculating combinatorial matching

Usage

1
schr_clean_pii(x, type = "name")

Arguments

x

a vector containing email, phone data, customer or business names

type

input data type of c('email', 'phone', 'name')

Value

a vector containing standardized email, phone data, customer or business names

Examples

1
2
schr_clean_pii(c("Sun100@yahoo.com","RICHY5000@MSN.COM","ab?c@mac.com"), 'email')
schr_clean_pii('12345678910', 'phone')

eauleaf/searchr documentation built on Dec. 20, 2021, 3:12 a.m.