View source: R/get_course_enrollments.R
get_course_enrollments | R Documentation |
This function retrieves the enrollments of students and other roles in a specific course in the Canvas LMS API.
get_course_enrollments(canvas, course_id, per_page = 100)
canvas |
An object containing the Canvas API key and base URL, obtained through the |
course_id |
The ID of the course for which to fetch the enrollments. |
per_page |
(Optional) The number of enrollments to retrieve per page of results (default is 100). |
A data frame of course enrollments for the specified course.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.