submissions: Submission functions

submissionsR Documentation

Submission functions

Description

Submission functions

  • get_submissions: For given course and assignment/quiz, get submissions

  • get_submission_single: Get a single submission, based on user id.

Usage

get_submissions(course_id, type, type_id)

get_submission_single(course_id, type, type_id, user_id)

Arguments

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

Value

Student submissions

Examples

## Not run: get_submissions(27, "quizzes", 2915)
## Not run: get_submissions(27, "assignments", 254)
## Not run: get_submission_single(1350207, "assignments", 5681164, 4928217)

daranzolin/rcanvas documentation built on May 18, 2024, 2:33 p.m.