Skip to contents

Get attendance data

Usage

get_attendances(rosters, .session = NULL, term = NULL)

Arguments

rosters

A list of course data. Alternatively, an active rvest session.

.session

(optional) An active rvest session. If this value is undefined, the session will be derived from an attribute set on rosters

term

(optional) The term to be used in this query. If undefined, this value will be inherited from rosters or 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, a table showing the roster of student enrollments, and student attendance records. The current rvest session is attached as an attribute, used for chaining functions together.

Examples

if (FALSE) {
  my_classes <- authorize() |>
    get_rosters() |>
    get_attendances()
}