From the course: xAPI Foundations
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Correlation under the hood
- [Instructor] Here we see our example page from the previous lesson, correlating two queries pulling information from our LRS about who played what parts of a video and what answer they gave on a corresponding quiz about that video. This is a neat example to show the power of xAPI queries, but is this necessarily a good way to get this information? Well, let's discuss that for a moment. We're going to take a look at the code, and again we're just going to look at this very lightly so we can see and really understand what's going on behind the scenes. So the first thing we do is we set up the first query, and we're looking for anyone who answered the quiz tracker. Then we send that query, we get the list of responses, and one at a time we look at the actor information, what response they gave and when the statement was created. We also look for information like the location of the video where this answer can be found. Now I'm highlighting this, and even though we're talking about code…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Querying the LRS2m 41s
-
(Locked)
Building and sending a query3m 47s
-
(Locked)
Query video plays3m 46s
-
(Locked)
Query quiz results4m 3s
-
(Locked)
Correlate quiz and video plays3m 38s
-
(Locked)
Correlation under the hood3m 33s
-
Adaptive learning4m 23s
-
(Locked)
How adaptive learning works3m 41s
-
(Locked)
-