R/sched_std_names.R
sched_std_names.Rd
sched_std_names()
parses investigator names given in the teams
worksheet into a standard format for matching with REDcap. It:
Transliterates characters to ASCII
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_
)
sched_std_names(string)
string | A character vector containing investigator names |
---|
The input string
with cleaned names
Other Case Assignment:
sched_add_nights_weekends()
,
sched_calc()
,
sched_join_schedules()
,
sched_load_nights_weekends()
,
sched_load_teams()
,
sched_parse_nights_weekends()
,
schedule_predefined()
,
schedule()