View source: R/class_session.R
class_session | R Documentation |
class_session()
was designed to retrieve time information about each student's session
in Zoom's classroom at given time period. Input of this function (data
) is a zoom_participants
object as
returned by read_participants()
.
class_session( data, class_start = NULL, class_end = NULL, arrange_by = c("Join_Time", "Name", "None"), arrange_group = c("Name-Email", "Session", "None"), period_to = c("period", "second", "minute", "hour"), round_digits = NULL )
data |
A data frame (tibble) with class |
class_start |
(Character) The time of class started, input as "hh:mm:ss" or "hh:mm".
If |
class_end |
(Character) The time of class ended, input as "hh:mm:ss" or "hh:mm".
If |
arrange_by |
(Character) How to arrange rows, must be one of:
|
arrange_group |
(Character) Indicate group of
|
period_to |
(Character) Indicate the units of "Before_Class", "During_Class", "After_Class" and "Total_Time" in the output. Must be one of:
|
round_digits |
(Integer) significant digits to round the numeric columns. If |
By providing time of class started (class_start
) and ended (class_end
),
this function will compute time spent before, during, and after class of each sessions.
If each student joined the classroom using multiple device, TRUE
will be placed in the "Multi_Device"
column of the output.
The output will displayed one row per session of each student.
(e.g., If student "A" joined more than one time, there will be multiple rows of "A").
Finally, rows will be arranged as specified by arrange_by
with grouping by arrange_group
.
A data frame (tibble) with class zoom_class
. It has the following columns:
"Name (Original Name)": the same column "Name (Original Name)" as input file
"Name": Current name displayed in Zoom meeting of the participants.
"Name_Original": Original name of the participants. It was extracted from the contents within the last balanced parentheses of "Name (Original Name)".
"Email": from original "User Email" column
"Session": Indicate active session(s) in Zoom of each students. Computed by ranking "Join_Time" in the grouping variables: "Name (Original Name)" and "Email".
"Class_Start" (POSIXct): Compute from date of "Join_Time" with time specified by class_start
argument.
"Class_End" (POSIXct): Compute from date of "Leave_Time" with time specified by class_end
argument.
"Join_Time": from the original "Join Time" column
"Leave_Time": from the original "Leave Time" column
"Before_Class": Time spent before class_start
of each session.
"During_Class": Time spent during class (between class_start
and class_end
) of each session.
"After_Class": Time spent after class_end
of each session.
"Total_Time": "Before_Class" + "During_Class" + "After_Class"
"Duration_Minutes": from original "Duration (Minutes)" column
"Rec_Consent": from the original "Recording Consent" column
"Multi_Device": TRUE
if any sessions of each student joined Zoom with multiple devices.
It is computed by checking whether "Join_Time" and "Leave_Time" was overlapped with other sessions within each students.
Otherwise, NA
will be returned because there is no way to be certain that students joined with a single device.
Checkout class_students()
for summary of each students.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.