Skip to contents

Add summaries of attendance

Usage

process_attendances(attendance_rosters, include_fridays = TRUE)

Arguments

attendance_rosters

A table of course enrollments and attendances

include_fridays

Whether to count Fridays among a course's viable days of attendance. This parameter is useful when teaching an online or hybrid class when Fridays serve as marker of that week's attendance, but where Friday is otherwise missing from course records as the day of meeting.

Value

A table of course enrollments and attendances, with added columns showing each student's current rate of attendance and the last date attended. The current rvest session is attached as an attribute, used for chaining functions together.

Examples

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