submissions | R Documentation |
Submission functions
get_submissions
: For given course and assignment/quiz, get submissions
get_submission_single
: Get a single submission, based on user id.
get_submissions(course_id, type, type_id)
get_submission_single(course_id, type, type_id, user_id)
course_id |
A valid canvas course id |
type |
Either "quizzes" or "assignments" |
type_id |
A valid quiz or assignment id |
user_id |
id of user whose submission should be retrieved |
Student submissions
## Not run: get_submissions(27, "quizzes", 2915)
## Not run: get_submissions(27, "assignments", 254)
## Not run: get_submission_single(1350207, "assignments", 5681164, 4928217)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.