prepare_tables: Prepare Firm Name Table

Description Usage Arguments Value Examples

View source: R/main_functions.R

Description

Prepare Firm Name Table

Usage

1
prepare_tables(.tab, .regex_names = "name")

Arguments

.tab

A Dataframe with at least 3 columns:
id: A company identifier
...: any number of columns with company names
country: The country of incorporation of the firm

.regex_names

A regular expression that identifies the columns for the company names

Value

A dataframe

Examples

1
2
3
4
.path <- system.file("extdata", "test_tables.xlsx", package = "RFirmMatch")
.tab <- openxlsx::read.xlsx(.path)
prepare_tables(.tab)
rm(.tab)

MatthiasUckert/RFirmMatch documentation built on Dec. 17, 2021, 3:18 a.m.