Skip to content

BYU-Open-Analytics/visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visualization App

Requirements

Configuration

  • Copy app/config/config.example.php to app/config.php and change:
    • PostgreSQL database configuration
    • Database credentials for LRS databases
    • LTI configurations: for launching this app, and for launching others
    • Learning Record Store details: for fetching statements and sending statements to multiple LRSs
    • Site base URI
  • Execute the following commands on the PostgreSQL database
    • create table students ( time decimal, activity decimal, consistency decimal, awareness decimal, deep_learning decimal, persistence_attempts decimal, persistence_watched decimal, email varchar(254) constraint firstkey primary key );  

    • create table skill_history ( time decimal, activity decimal, consistency decimal, awareness decimal, deep_learning decimal, persistence_attempts decimal, persistence_watched decimal, time_stored timestamp default now(), id serial primary key, email varchar(254) references students(email) );  

    • create table question_attempts ( count integer, question_id varchar(10), id serial primary key, email varchar(254) references students(email) );

    • create table feedback ( type text, feedback text, email varchar(254), time_stored timestamp default now(), id serial primary key );

    • create table student_mastery_history ( unit1 decimal, unit2 decimal, unit3 decimal, unit4 decimal, recent_average decimal, time_stored timestamp default now(), id serial primary key, email varchar(254) references students(email) );

    • create table class_concept_history ( time_stored timestamp default now(), concept_id integer, average_mastery decimal );

LTI integration

  • Basic LTI POST requests should be sent to {base URI}/launch.php
  • When logged in, LTI session information can be viewed at {base URI}/ltiinfo

This app uses

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.