View source: R/get_course_gradebook.R
get_course_gradebook | R Documentation |
This function generates a gradebook for the assignments in a specific course in the Canvas LMS API.
get_course_gradebook(canvas, course_id)
canvas |
An object containing the Canvas API key and base URL, obtained through the
|
course_id |
The ID of the course for which to generate the gradebook. |
The gradebook shown in Canvas is not accessible through the API. Here it is reconstructed using
the (visible) assignments and students in the course. It may be useful for performing more
advanced grade calculations (like allowing for conditional extra credit) before adjusting
assignment grades (see, update_course_grades
and
update_section_grades
).
A data frame containing the gradebook with student in rows (identifiable through
canvas_user_id
) and assignments in columns (identifiable through assigment names).
get_assignments()
, and get_assignment_submissions()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.