Keys in the master calendar's cal_key column have prefixes according to
the type of calendar entry they represent (e.g., "LAB_" for labs,
"CLS_" for classes/reading assignments, "EXAM_" for exams, etc.). This
function adds those prefixes.
Usage
add_key_prefix(x, type, ...)
# S3 method for class 'character'
add_key_prefix(x, type, ...)
# S3 method for class 'list'
add_key_prefix(x, type, ...)
# S3 method for class 'data.frame'
add_key_prefix(x, type, col = "cal_key", ...)Value
A data frame with the prefixes stripped from the specified column.
A data frame with the prefixes stripped from the specified column.