helper_get_substrings_table: Helper Function: Cut String

Description Usage Arguments Value Examples

Description

Helper Function: Cut String

Usage

1
helper_get_substrings_table(.tab, .col_match, .min_char)

Arguments

.tab

A table

.col_match

The column with the string to be cut

.min_char

Number between 0 and 1 exclusively (Determines the minimum percent of the string to cut)

Value

A Dataframe

Examples

1
2
3
tab <- tibble::tibble(id = 1, name = "BADISCHE ANELIN UND SODAFABRIK")
helper_get_substrings_table(tab, name, .5)
rm(tab)

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