Unizin Product Documentation
ProductsSupport and TrainingPolicies
  • Unizin Product Documentation
  • Products
    • Content
      • Unizin Engage
        • eReader User Guide
          • Notes, Highlights, and Citations
          • Appearance Settings
          • Download for Offline
          • eReader Layout
          • Keyboard Shortcuts
          • Navigating Your eBook
          • Print
          • Text to Speech
          • Copy and Paste
          • Creating Flashcards
          • Collaboration and Note Sharing
          • Pearson Titles
        • Institution Support
          • Disabled Student Services / Alt-Format
            • Best Practices for Republishing Course Content
            • Disabled Student Services
            • Requesting eTextbook Files for Accessibility Purposes
            • WCAG 2.0 AA evaluation for Engage
            • WCAG 2.0 AA evaluation for EPUB for Engage
          • Institution's Support Responsibilities
        • Caliper 1.1 sensor
        • Release Notes
          • 2.28.22
          • 2019-09-17
          • 2019-05-29
          • 2.26.8
          • 2.26.0
          • 2.25.0
          • 2.22.0
          • 2.21.6
          • 2.21.5
          • 2.20.8
          • 2.20.5
          • 2.20.3
          • 2.19.1
          • 2.18.0
          • 2.17.0
          • 2.14.0
          • 2.12.0
          • 2.11.0
          • 2.9.0
          • 2.8.3
          • 2016-03-17
          • 2016-02-11
          • 2016-01-28
        • Using Analytics (New)
      • Unizin Order Tool
        • Overview of the User Interface
        • Key Concepts
          • Profiles
          • Ordering periods
          • Coordinator permissions
          • Program administrator permissions
        • Courses & Ordering
          • Course filtering
          • Place an order
          • Add sections to a placed order
          • Edit a placed order
          • Cancel an order
          • Reordering
        • Order History
          • Instructor Order History
          • Coordinator and Program Administrator Order History
          • Order Activity
        • Student Choice
          • Student Choice (Program Administrators)
          • Student Choice (Students)
        • Entitlements
          • Entitlements (Program Administrators)
          • Entitlements (Students)
        • Catalog Tool
        • Schedule of Classes
        • Content Request Tool
        • Order Tool Dashboard
        • Vendor Sandbox Tenant
        • Institution Support
        • Implementation
          • SIS Data Integration
            • 1.0 - SIS Integration
            • 2.0 - SIS Integration
          • SSO integration
          • UI customizations
          • Order Feed
            • 1.0 - Order Feed
            • 2.0 - Order Feed
            • 3.0 - Order Feed
          • Publisher report
          • Final declined offers feed
          • Institutional (SIS) Catalog Import
          • Student Price
          • Historical Entitlements Import
        • Release Notes
          • Order Tool Bug Fixes and Enhancements
          • Order Tool Bug Fixes
          • Order Tool Accessibility Improvements
          • Order Feed Improvements
          • Content Request Form Update and Minor Bug Fix
          • Flat Markup Fee Update
          • Ordering Email Receipt Update & Minor Bug Fix
          • Bug Fix for Public Catalog Feature
          • Catalog Search Enhancements
          • Reordering Reminder Email Notifications
          • UX Improvements & Minor Bug Fixes
          • Historical Entitlements Import
          • Student Prices
          • Reordering Feature
          • Email Enhancements
          • Ordering Enhancements
          • Bug Fix for the Institutional Catalog Import
          • Bug Fix for the Final Declined Offers Feed (FDOF)
          • Order Activity Feature and Other Enhancements
          • Bug Fixes for Order History and Report an Issue Features
          • Public catalog feature
          • Minor Bug Fixes for Ordering and Student Choice
          • Entitlements Production Release, Bug fixes, and Minor updates
          • Minor Updates and Bug Fixes for Ordering Workflows
          • Catalog Search Optimization
          • Student Choice
          • Archive Terms Feature and Integration Improvements
          • Introduces the Program Administrator role, Catalog Tool, and Schedule
          • User interface updates and improvements
          • Order feed improvements
          • Order history, UI enhancements
          • Email notification upgrades, UI improvements
          • Order feed changes
          • New features for Course coordinators and upgrades to the UI
          • Changes to the Term, Course, and Section models; introduces a Session
          • Bug fixes, import improvements, and validation improvements
          • Tracking Order History
          • Publisher Reporting
          • Fixes the order feed, automates SIS data importing, and automates the generation of order feed repor
    • Data & Analytics
      • Unizin Data Platform
        • Key concepts
          • Platform overview
          • Data categories
          • Data models
          • Loading schemas
          • Keymap
        • Unizin Common Data Model
          • Academic structures (ERD)
          • Learners (ERD)
          • Course structures (ERD)
          • Course resources (ERD)
          • Learner activities (ERD)
          • Quizzes (ERD)
          • Social (ERD)
          • Course outcomes (ERD)
        • System overview
          • Context data pipeline
            • Context data ingress
            • Batch-ingest application
            • Batch-ingest db server
            • Context store
          • Event data pipeline
            • UDP Caliper endpoint
            • Approval process for implementing Caliper compliant tools
            • UDP Event enricher
            • Event store
        • Data stores
          • Data lake
            • UDP Context store
            • UDP Event store
              • Accessing the Event store
              • Expanded table
                • Expanded table: Canvas edApp mapping
            • Synthetic Data [beta]
              • Viewing Synthetic Data datasets within the BigQuery UI
              • Query Synthetic Data via client libraries
          • Data marts
            • UDP Distributions
            • Interaction sessions
            • Learning Environment Organization
            • File Interaction
            • Last Activity
            • Long Inactivity
            • Course Status
            • Daily Course Grade Record
            • LTI Tool Use
            • LMS Tool Use
            • Tool Usage Metrics
            • Links
            • Taskforce
              • Level 1 Aggregated
              • Level 2 Aggregated
              • Level 2 Course Weekly Distribution Summary
              • Student Term Profile
              • Course Profile
            • Student Activity Score
              • Student Course Metrics
              • Student Course Section Metrics
              • Final
              • Course Final
              • Course Section Final
        • Data integrations
          • Context data integration
            • Loading schema
            • Keymap support
            • Manifest file
            • File requirements
            • Integration mechanics
          • Event data integration
          • SIS data integration
          • LMS data integration
            • Instructure Canvas
        • Release Notes
          • UDP Marts Release Notes
            • 1.0.83
            • 1.0.80
            • 1.0.79
            • 1.0.78
            • 1.0.77
            • 1.0.72
            • 1.0.67
            • 1.0.58
            • 1.0.51
            • 1.0.44
            • 1.0.42
            • 1.0.32
            • 1.0.31
            • 1.0.0
            • Level 2 Taskforce data marts now available
          • 2.0.167
          • 2.0.152
          • 2.0.138
          • 2.0.137
          • 2.0.113
          • 2.0.112
          • 2.0.111
          • 2.0.110
          • 2.0.99
          • 2.0.98
          • 2.0.83
          • 2.0.80
          • 2.0.71
          • 2.0.66
          • 2.0.59
          • 2.0.58
          • 2.0.53
          • 2.0.47
          • 2.0.25
        • Miscellaneous
          • Canvas Data additions, ~Fall 2021
          • Canvas Live Events: from SQS to HTTPS
          • Canvas New Analytics vs. UDP
          • Course Section Enrollment Role Status Mappings
          • Migrating from UDW to UDP
      • Unizin Data Warehouse
        • Implementation Guide
        • Scope of Services
        • Access Provisioning
        • Access Revocation
        • Connecting to the UDW
      • Raw Canvas Data 2
        • Flat Files
        • BigQuery Datasets
    • Hosted Services
      • My Learning Analytics
        • Install MyLA via LTI 1.3
        • Custom configure MyLA
  • Support and Training
    • Professional Development
      • Stepping Stones: A Faculty Development Curriculum for Learning Analytics Use
      • Structured Conversations initiative
    • UDP Self-paced Training
    • Resources Site Broken Links
    • Status Pages
  • Policies
    • General policies
      • Sponsor Teams
      • Browser Support Policy
      • Opt-Out & Invoicing Policy (Order Tool)
    • Support Policy
      • Unizin Engage - SP
      • Unizin Order Tool - SP
      • Unizin Data Platform - SP
      • Unizin Data Warehouse - SP
      • Unizin Data Analysis - SP
      • Pressbooks Hosting - SP
    • Privacy Policy
      • Unizin Engage - PP
      • Unizin Order Tool - PP
      • Unizin Data Platform - PP
      • RStudio service - PP
    • End User License Agreements
      • Unizin Engage - EULA
      • Unizin Order Tool - EULA
    • Terms of Use
      • Unizin Data Platform - ToU
    • Incident Reports
Powered by GitBook
LogoLogo

Unizin Homepage

  • unizin.org

Data & Analytics

  • Unizin Data Platform
  • Unizin Data Warehouse

Content

  • Unizin Engage
  • Unizin Order Tool

Hosted Services

  • My Learning Analytics

Copyright © 2023, Unizin, Ltd.

On this page
  • BQ Prod Dataset Location
  • Interactive Mart Dependency Diagram
  • Schema
  • Mart/Course_offering/long_inactivity
  • Mart/Course_section/last_activity
  • Fields
  • Criteria for Actively Enrolled in Current Term
  • Tableau Template Workbook
  • Connecting to Data
  • Tableau Dashboard Filters
  • Tableau Visualizations
  1. Products
  2. Data & Analytics
  3. Unizin Data Platform
  4. Data stores
  5. Data marts

Long Inactivity

PreviousLast ActivityNextCourse Status

Last updated 1 month ago

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:

  1. A person is actively enrolled in a course, but no Caliper events have been generated.

  2. A person is actively enrolled in a course, but the latest Caliper event is at least 5-days in the past.

BQ Prod Dataset Location

  • mart_course_offering

  • mart_course_section

Interactive Mart Dependency Diagram

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

Schema

Mart/Course_offering/long_inactivity

Type
Description

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.

Mart/Course_section/last_activity

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.

Field Name
Type
Description

udp_course_section_id

INTEGER

The UDP ID of the Course section.

lms_course_section_id

STRING

The LMS ID of the Course section.

Fields

last_activity

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.

has_no_activity

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.

days_since_last_activity

COALESCE(DATE_DIFF(current_datetime(),last_activity, DAY), null)

A COALESCE to null is used for instances where has_no_activity applies.

is_X_days

These fields also adhere to a DATE_DIFF calculation with the current date. For the is_5_days field, the following logic is applied:

CASE
    WHEN last_activity is null then null
    WHEN DATE_DIFF(current_datetime(),last_activity, DAY) >= 5 then 1 
    ELSE 0
END AS is_5_days

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.

Criteria for Actively Enrolled in Current Term

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.

Tableau Template Workbook

As a starting point for visualization for this data mart, Unizin has created a Tableau template workbook available for download here:

Connecting to Data

Tableau Dashboard Filters

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.

Tableau Visualizations

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.

DATE_DIFF
role_status
enrollment_status
guide document
published doc
UDP marts
this marts page.
Click here to open the interactive chart.
143KB
Last Activity and Long Inactivity Dashboard .twbx
Last Activity and Long Inactivity Dashboard Tableau Workbook File
mart_course_offering.long_inactivity
Metric Cards
Metric Cards
Long Inactivity by Day of the Week and Hour
Days Percent Inactivity
Proportion of Students with Long Inactivity in Courses
Proportion of Students with Long Inactivity Over Time
Long Inactivity Table
Course Level Inactivity Summary