Long Inactivity
Last updated
Last updated
The mart_course_offering.long_inactivity mart surfaces students actively enrolled in courses in the current term with extended time without activity in the LMS. The mart_course_section.long_inactivity mart also includes this information, but at the course section level.
Extended time without activity is defined as either:
A person is actively enrolled in a course, but no Caliper events have been generated.
A person is actively enrolled in a course, but the latest Caliper event is at least 5-days in the past.
mart_course_offering
mart_course_section
The following visualization shows the construction of this data mart defined in the repository. More information on the repository and diagram can be found on
udp_course_offering_id
INTEGER
The UDP ID of the Course offering.
lms_course_offering_id
STRING
The LMS ID of the Course offering.
udp_person_id
INTEGER
The UDP ID of the person.
lms_person_id
STRING
The LMS ID of the person.
academic_organization_array
ARRAY<STRING>
Array of string values for the academic organization(s)
academic_organization_display
STRING
The name of the academic organization(s) as a string with comma separation.
academic_term_name
STRING
The name of the academic term, i.e. Fall 2020.
term_begin_date
DATE
The start date for the academic term.
term_end_date
DATE
The end date for the academic term.
course_offering_title
STRING
The title of the Course offering, i.e. Linear Algebra.
course_start_date
DATE
The start date of the Course offering.
course_end_date
DATE
The end date of the Course offering.
instructor_display
STRING
An array of all the instructors' names for a Course offering written as a string.
instructor_name_array
ARRAY<STRING>
An array of all instructors’ names for a Course offering.
instructor_email_address_array
ARRAY<STRING>
An array of all instructors' emails for a Course offering
instructor_email_address_display
STRING
An array of all instructors' emails for a Course offering written as a string.
person_name
STRING
The name of the person.
last_activity
DATETIME
The time of the person’s last activity in the Course offering.
has_no_activity
INTEGER
Indicates if the user has no recorded activity in the course. 1 = no activity; 0 = any activity
days_since_last_activity
INTEGER
The number of days between the last recorded activity and the current datetime.
is_5_days
INTEGER
Indicates if the days since last activity is greater than or equal to 5 days. 1 = 5 days or greater. 0 = otherwise.
is_7_days
INTEGER
Indicates if the days since last activity is greater than or equal to 7 days. 1 = 7 days or greater. 0 = otherwise.
is_10_days
INTEGER
Indicates if the days since last activity is greater than or equal to 10 days. 1 = 10 days or greater. 0 = otherwise.
is_14_days
INTEGER
Indicates if the days since last activity is greater than or equal to 14 days. 1 = 14 days or greater. 0 = otherwise.
The course section mart includes all the fields found in the course offering mart, as well as two more fields, which are presented in the table below.
udp_course_section_id
INTEGER
The UDP ID of the Course section.
lms_course_section_id
STRING
The LMS ID of the Course section.
This field is pulled from the mart_course_offering.last_activity datamart. Per person, per course we pull the most recent event timestamp, regardless of event type. This signifies the latest activity of any type for a student in a course.
For instances of active enrollment in the current term, an absence of Caliper events is checked here. If no Caliper events generated by the enrolled student can be found, we set this flag to 1. Otherwise, 0.
A COALESCE to null is used for instances where has_no_activity applies.
These fields also adhere to a DATE_DIFF calculation with the current date. For the is_5_days field, the following logic is applied:
Again, we respect nulls first in cases of no activity. The only change for the 7, 10, and 14-day thresholds is in the >= check.
For the active academic term, we look for all rows in the academic_term entity whose term_begin_date is before the current date and whose term_end_date is after the current date. We filter out all courses and terms with dates outside of these bounds or terms with null values for begin and/or end dates.
Excluded role_status values:
Dropped
Wait Listed
Not Enrolled
No Data
None
Completed
Excluded enrollment_status values:
Inactive
Not Enrolled
No Data
None
Completed
OR logic is used here; if either a role_status or enrollment_status in the exclusion lists above surfaces for a student, that enrollment is filtered out of the final results.
As a starting point for visualization for this data mart, Unizin has created a Tableau template workbook available for download here:
The following fields are used as filters in the Tableau Workbook:
Academic Organization - The academic department name
Instructor Display - The list of names of the course's instructors.
Course Offering Title - The title of the course offering.
UDP Course Offering ID - The UDP ID of the course offering.
Academic Term - The academic term of the course; the default selection is the current term.
These filters are in scope for all visuals in the dashboard.
The metric cards show a quick summary of student activity in the course. They include the total number of enrolled, active, and inactive students. You can also see the average number of days students were active or inactive, and how many hours they spent in the course. This helps spot long periods of inactivity and low engagement.
The Long Inactivity by Day of Week and Hour table highlights trends in long inactivity over time, showing when students tend to disengage. It includes breakdowns by day of the week and hour of the day.
This chart displays the percentage of total long inactivity occurrences for each day of the week.
This chart shows how inactivity is distributed among students in courses. The percentage of students who have been inactive in one or more courses is displayed here.
The pie chart shows the distribution of students based on how long they have remained inactive. It helps track inactivity trends over time.
The Long Inactivity Table lists key details to help identify disengaged students. It includes the academic organization, course offering ID, and student names, along with the timestamp of their last activity. It also shows the number of events, assignments interacted with, and days since last activity.
NOTE: For production use, please make sure it's appropriate for users to have visibility into student names. If names are too sensitive, please drop this column from the visual before sharing to users
The Course Level Inactivity Summary table shows long inactivity trends across courses. It includes the course IDs, course offering titles, instructor names, and total enrollments. It also highlights how many students have been inactive for 5 + days, 10+ days, and more than 10 days, helping spot courses with high inactivity.
This is calculated using the function, and an integer representing the number of days between the current date and the last_activity for the person-course_offering/section:
For the "actively enrolled" students, we look at the and values in course_section_enrollment.
The default data connection in the workbook is to Unizin's synthetic data. After downloading the workbook, the first step will be to transfer the connection to your own production UDP data. Here is a to help with this process; Tableau also has a for replacing data sources. For any issues connecting to source data, please contact support@unizin.org.