copm_match: Match company names against Databses

Description Usage Arguments Value Examples

View source: R/company_name_functions.R

Description

Match company names against Databses

Usage

1
2
copm_match(names, match.table = NULL, match.type = c("full", "sub",
  "approx"), nthreads = 1)

Arguments

names

A charcter string of company names

match.table

A table prepared by copm_prep_names

match.type

Any combination of c("full", "sub", "approx")

Value

A list with matches

Examples

1
2
3
4
5
library(tpfuns)
table <- tibble::tibble(id = c(1,2,3), firm = c("BASF GMBH", "BASF AG", "BASF SE (GER)"))
match.table <- copm_prep_db(table, "firm", "id")
names <- c("BASF GMBH", "BASF AG", "Siemens AG")
copm_match(names, match.table, "full")

M2UCT/RFtex documentation built on May 25, 2019, 4 a.m.