get_rosters() uses an active rvest session to find data on each course, including a table of students enrolled.
Arguments
- courses
A course table
- .session
(optional) An active
rvestsession. If this value is undefined, the session will be derived from an attribute set oncourses- term
(optional) The term to be used in this query. If undefined, this value will be inherited from
rostersor from the environmental variable defined at setup.
Value
A list of items, with one item per course. Each item will identify the course CRN, catalog number, title, schedule, and a table showing the roster of student enrollments. The current rvest session is attached as an attribute, used for chaining functions together.
Examples
if (FALSE) {
my_classes <- authorize() |>
get_rosters()
}
