check_design_rule {snakecase} | R Documentation |
Internal helper to test the design rules for any string and setting of to_any_case()
Description
Internal helper to test the design rules for any string and setting of to_any_case()
Usage
check_design_rule(string, sep_in = NULL, transliterations = NULL,
sep_out = NULL, prefix = "", postfix = "", unique_sep = NULL,
empty_fill = NULL, parsing_option = 1)
Arguments
string |
A string (for example names of a data frame). |
sep_in |
String that will be wrapped internally into |
transliterations |
A character vector (if not |
sep_out |
String that will be used as separator. The defaults are |
prefix |
prefix (string). |
postfix |
postfix (string). |
unique_sep |
A string. If it is supplied, then duplicated names will get a suffix integer in the order of their appearance. The suffix is separated by the supplied string to this argument. |
empty_fill |
A string. If it is supplied, then each entry that matches "" will be replaced by the supplied string to this argument. |
parsing_option |
An integer that will determine the parsing_option.
|
Value
A character vector separated by underscores, containing the parsed string.
Author(s)
Malte Grosser, malte.grosser@gmail.com