clean_company_names: Clean Company Names

View source: R/clean_company_names.R

clean_company_namesR Documentation

Clean Company Names

Description

Clean Company Names

Usage

clean_company_names(string, thorough = FALSE)

Arguments

string

A company name with unspecified case, punctuation, and suffixes (e.g. "LLC", "Corp").

thorough

A boolean (defaults to FALSE) for deciding whether to check the company names against a list of known large manufacturers, including their acquisitions. Selecting TRUE slows down the operation significantly, taking about 4.8 seconds per thousand company names.

Value

An all-caps company name without extraneous characters, punctuation, and terms removed.


bjoleary/fdadata documentation built on April 14, 2025, 6:02 p.m.