read_vis {c403} | R Documentation |
Read registration lists (for exams or courses) from the Excel export of VIS (which actually may or may not be XLS or HTML files).
read_vis(file, ...) vis_register(file = Sys.glob("*.xls"), subset = TRUE)
file |
character with file name of an XLS file from VIS. |
..., subset |
logical. Should students without confirmed registration be omitted? |
VIS offers Excel exports but in case of registration lists these are typically HTML files containing an HTML table. These are read using the XML package. However, some exports are actually Excel files which are read using the xlsx package. In either case some basic cleaning is done and additional meta-information is extracted.
A data.frame
with an additional attribute "info"
providing
details about the type of course ("LV"
) or exam ("GP"
).