Description Usage Arguments Value Examples
Takes customer name and simplifies it by converting to lower case; converting to latin-ascii characters; converting ownership types to standard abbreviations.
1 2 3 | simplifyName(name, cut.ownership = FALSE,
reduction = pacta::data.name.reductions,
ownership = pacta::data.ownership.types)
|
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 |
Character string with simplified name
1 2 | simplifyName("Acuity Brands Inc")
simplifyName(c("3M Company", "Abbott Laboratories", "AbbVie Inc.", "Accenture plc"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.