Description Usage Arguments Details Value
View source: R/examplify_to_r.R
This function converts an Examplify script (from a student,html) into an R script.
1 | examplify_to_r(in_fname, out_fname, verbose = FALSE)
|
in_fname |
A file name of a student submission html file. |
out_fname |
The output R script. |
verbose |
Controls verbosity of output. |
The script has to be exported in html format, using a particular profile. The questions are stored in tags nested under id = "answers" and tag type "h2". The answers are stored in tags nested under id = "answers" and class "content".
Some of the student text may contain R code and text mixed up, so tidy_source() may not work on those, since it is parsed.
This will return NULL, but will generate an R script as output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.