copm_prep_names: Name Preparation for Company Matching Procedure

Description Usage Arguments Value Examples

Description

This function takes a character string and prepares a deduplicated list with maximum 24 different variations of the name. The different name varieties are stored in the 'ntype'

Usage

1
2
copm_prep_names(names,
  adj.regex = "\\s?holdings?\\s?|\\s?groups?\\s?|\\s?units?$")

Arguments

names

A character string of company names

adj.regex

Adjustment Regex

Value

A dataframe with different 3 columns containing different name varieties.
Col 1 ('n0'): Original Name of the company.
Col 2 ('n1'): Adjusted Name of the company.
Col 3 ('ntype'): Adjustemt type.

Examples

1
2
library(tpfuns)
copm_prep_names(names = c("BASF GMBH", "BASF AG", "BASF SE (GER)"))

M-U-UNI-MA/tpfunctions documentation built on May 24, 2019, 7:37 a.m.