fetch_quiz_grades: Fetch quiz grades

Description Usage Arguments Details Value See Also

Description

Returns the most recent final quiz grades and the maximum possible grade for the specified quiz and users.

Usage

1
fetch_quiz_grades(quiz_cm_id, user_ids, ..., con = get_session_con())

Arguments

quiz_cm_id

A single integer corresponding to a quiz course module id (see list_cms).

user_ids

A vector of integers corresponding to userids.

...

Potential future args.

con

A database connection object, using the session connection by default.

Details

Missing grades are given a value of NA.

Note that the final grades reported here are scaled, if scaling was specified in the quiz. After summing the individual quiz question grades, Moodle is capable of scaling the sum. For example, a quiz may be scored on a 5 point scale (grade sums ranging 0-5), but scaled to a range of 0-20 for contribution to final grade in a class. If 100 points can be earned according to they syllabus, then a range of 0-20 would mean the quiz is 20 of the final course grade.

Value

A tibble with quiz grade information for each input userid.

See Also

list_cms


TheFridayInstitute/fimoodler documentation built on May 28, 2019, 9:37 a.m.