Given a JSON file exported from WISEflow,
this function extracts the question text, answer options, scoring info etc
and structures the information in one examiner
Rmd file per question.
An examiner
quiz file references the questions is also created,
allowing easy verification that the converted Rmd files do work with Canvas.
(Or indeed with WISEflow.)
Everything is put in a new directory to avoid overwriting existing work.
Details
The result is a good starting point for remixing and development of the questions, perhaps using version control. You might also want to change image file names to be more descriptive; WISEflow uses hashes.
Currently supported:
Multiple choice questions only!
WISEflow content banks (content type "item") or Assignment (content type "activity")
HTML in question text and answer options.
Multi-paragraph answer options (e.g. bokmål and nynorsk separated by a blank line).
Images. If originally hosted on WISEflow servers, images will be downloaded locally and linked from there in the generated markdown. Images in inline data URIs will be saved locally and linked from there.