Data Store for learning analytics events

If you want to collect data from social networks such as blogs and Twitter, do not heasitate to visit: https://github.com/jlsantoso/trackers

Related documents/publications/deliverables

Installation

Architecture

The following diagram highlights some components of the weSPOT architecture and illustrates how they realize tracking user data.

Services definition

The main services defined are:

Get events

Store events

If you want to avoid the cross-domain problem with JavaScript, you can use the following service and add your host to the list of allowed hosts:

Schema definition

see file routes/db.js

The schema definition is a simplification of xAPI: https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md

The schema is defined as:

var eventSchema = new Schema({

  username: String,

  verb: String,

  starttime: Date,

  endtime: Date,

  target: String,

  object: String,

  context: Schema.Types.Mixed,

  location: Schema.Types.Mixed,

  originalrequest: Schema.Types.Mixed

},{collection:"events"});