get_subject_schedule: Filter Course Schedule by Subject Code (Regex-Friendly)
Description
Returns a subset of the schedule where the SUBJ (subject code) column matches a given pattern.
Matching is case-insensitive and supports regular expressions.
Usage
get_subject_schedule(subject_pattern, schedule)
Value
A filtered data frame containing only matching subject codes.
Arguments
subject_pattern
A character string or regular expression to match subject codes.
schedule
A data frame containing course schedule data with a SUBJ column.