examplify_to_r {autoharp} | R Documentation |
Convert from Examplify to R
Description
This function converts an Examplify script (from a student,html) into an R script.
Usage
examplify_to_r(in_fname, out_fname, verbose = FALSE)
Arguments
in_fname |
A file name of a student submission html file. |
out_fname |
The output R script. |
verbose |
Controls verbosity of output. |
Details
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.
Value
This will return NULL, but will generate an R script as output.
[Package autoharp version 0.0.10 Index]