cnames: cnames()

View source: R/cnames.R

cnamesR Documentation

cnames()

Description

clean names from a string

Usage

cnames(
  name,
  toup = TRUE,
  rmcompanytxt = TRUE,
  blankcompany = TRUE,
  rm12letter = TRUE
)

Arguments

name

string with name or name vector

toup

required=TRUE converts names to uppercase

rmcompanytxt

remove company characteristics from names

blankcompany

convert names with company characteristics such as LLC, TRUST, etc. to BLANK

rm12letter

if TRUE one and two letter words such as middle initial are removed


nbarsch/tfwstring documentation built on May 4, 2023, 5:26 a.m.