simplifyName: Simplify customer name

Description Usage Arguments Value Examples

Description

Takes customer name and simplifies it by converting to lower case; converting to latin-ascii characters; converting ownership types to standard abbreviations.

Usage

1
2
3
simplifyName(name, cut.ownership = FALSE,
  reduction = pacta::data.name.reductions,
  ownership = pacta::data.ownership.types)

Arguments

name

text string to simplify

cut.ownership

flag that defines whether ownership type (like llc) should be cut-off from name during simplification

reduction

data frame with reduction rules to be applied, contains columns From (for initial values) and To (for resulting values)

ownership

vector of company ownership types to be disctinguished for cut-off or separation

Value

Character string with simplified name

Examples

1
2
simplifyName("Acuity Brands Inc")
simplifyName(c("3M Company", "Abbott Laboratories", "AbbVie Inc.", "Accenture plc"))

2DegreesInvesting/pacta documentation built on June 17, 2019, 12:04 p.m.