Description Usage Arguments Value See Also Examples
Creates an xAPI Statement
1 | createStatement(stmt = NULL, warn = FALSE, ...)
|
stmt |
Statement values |
warn |
Show warnings |
xAPI Statement (json)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | createStatement(
stmt = list(
agent = list(
name = "John Doe",
mbox = "mailto:john@example.com"
),
verb = list(
display = "answered",
id = "http://adlnet.gov/expapi/verbs/answered"
),
object = list(
name = "Question 1",
description = "Example question description."
),
result = list(
success = TRUE,
response = "correctAnswer",
extensions = list(
ref = "https://w3id.org/xapi/cmi5/result/extensions/progress",
value = 100
)
)
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.