View source: R/server-std_names.R
std_names | R Documentation |
'std_names()' parses investigator names given in the teams worksheet into a standard format for matching with REDcap. It:
Replaces square brackets and curly braces with parentheses
Removes parenthetic expressions
Removes ordinal and numeric expressions
Converts 'NA's to text (for the next function)
Passes the intermediate to
make_clean_names(
case = "title",
use_make_names = FALSE,
transliterations = c("Any-Latin", "Latin-ASCII"),
sep_out = " "
)
Removes leading and trailing dashes
Removes extraneous whitespace
Inverts converted 'NA's (back to 'NA_character_')
std_names(string)
string |
A character vector containing investigator names |
The input 'string' with cleaned names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.