Skip to content

This application serves as a dashboard model for visualizing reveal.js tracking data from the reveal.js tracking plugin.

Notifications You must be signed in to change notification settings

jquku/visualizeRevealJsTrackingData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visualize reveal.js tracking data

This python flask (web-)application is made to visualize anonymized reveal.js tracking data in a dashboard. The data is being tracked by the reveal.js tracking plugin and can be anonymized by the anonymizeReveal.js application using the ARX data anonymization tool.

Prerequisites

  • Python version 3.0+ is recommended
  • Install all the requirements
    pip3 install -r requirements.txt
    

Changes in reveal.js tracking plugin

The data for the dashboard is being stored in a PostgreSQL database. An interface is being used to receive the data by a route. In order to make the data exchange work the following route needs to be added in the app.rb file in the reveal.js tracking plugin.

#ADDED: new route that returns a json object with data for every tracked session
get '/all' do
  students = Student.all()
  tracked_sessions = TrackedSession.all()

  tracking_json =  tracked_sessions.order(created_at: :desc).all
  tracking_json.to_json
end

Setup

  1. Add the route from above
  2. Start the docker container of the reveal.js tracking plugin by navigating into the corresponding folder and executing the following command
    docker-compose up -d
  3. Run the appliation
    python3 run.py
    

Still missing

  • filtering of modules and lectures in a database
  • video data
  • audio data
  • dwell time details (in template, but no functionality yet)

Important: Since no strategy concerning the frequency of data anonymization has been chosen, this application still uses the datasets who are not k-anonymized yet. In order to only select the anonymized database table as a data basis, only the additional reveal.js tracking plugin route needs to be adjusted accordingly (replace tracked_sessions with tracked_sessions_anonymized).

About

This application serves as a dashboard model for visualizing reveal.js tracking data from the reveal.js tracking plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages