Description Usage Arguments Value Examples
View source: R/itemJsonParser.R
Removes JSON format from item datafile.
1 | itemJsonParser(items, withFeedback = FALSE)
|
items |
A Oefenweb item dataframe or a Oefenweb item question or Ofenweb answer options vector. |
withFeedback |
Some games (as "meten") contain feedback in the question structure. If withFeedback is TRUE, an extra feedback column is added to the output data.frame. |
Input item dataframe or vector without JSON format.
1 2 3 | question <- paste0('{"jsonTypeDefinition":"gameSelector","type":"OpenAnswer",',
'"question":{"mediaType":"maximizedText","content":"0 x 1"}}')
questionWithoutJSON <- itemJsonParser(question)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.