olat_eval_guess_lang {c403} | R Documentation |
Given a set of character vectors this function tries
to gess the language of the imported file. This allows to
evaluate exams from OpenOLAT in different languages.
Used by olat_eval
to rename the columns
to make the evaluation independent from the language used when
exporting the results via OLAT.
olat_eval_guess_lang(x)
x |
character vector with column names |
Returns the language name ("en"
, "de"
) if
the function is able to guess the language. Else the script will stop.
Reto