editAssignment: Edit an assignment

View source: R/editAssignment.R

editAssignmentR Documentation

Edit an assignment

Description

Edit an assignment of the provided ID for the provided course.

Usage

editAssignment(
  courseID,
  assignID,
  name = NULL,
  description = NULL,
  points_possible = NULL,
  type = NULL,
  online_type = NULL,
  allowed_extensions = NULL,
  grading_type = NULL,
  assignment_group_id = NULL,
  grading_standard_id = NULL,
  group_category_id = NULL,
  due_at = NULL,
  lock_at = NULL,
  unlock_at = NULL,
  published = NULL,
  turnitin_enabled = NULL,
  peer_reviews = NULL,
  automatic_peer_reviews = NULL,
  notify_of_update = NULL,
  muted = NULL,
  grade_group_students_individual = NULL,
  ext_tool_url = NULL,
  ext_tool_new_tab = NULL,
  server = "test",
  ...
)

Arguments

courseID

Course ID to create the assignment in.

assignID

Assignment ID of the assignment to edit.

name

Character of the name of the assignment

description

Character description of the assignments, supports HTML.

points_possible

Integer of the maximum number of points possible

type

One character of assignment type ("online","none", "on_paper", "online_quiz", "discussion_topic", "external_tool")

online_type

If type is "online", vector of online types ("online_upload", "online_text_entry", "online_url", "media_recording")

allowed_extensions

Character of the extensions allowed for file submissions for "online_upload"

grading_type

Character of grading type options (pass_fail, percent, letter_grade, gpa_scale, points)

assignment_group_id

Integer of the assignment group to put assignment in.

grading_standard_id

Integer id of the grading standard used.

group_category_id

ID of group to assign discussion to.

due_at

POSIXct object of date and time of due date

lock_at

POSIXct object of date and time of lock date

unlock_at

POSIXct object of date and time of unlock date

published

Boolean to specify if the assignment is published for availability.

turnitin_enabled

Boolean to specify whether to use the Turnitin API.

peer_reviews

Boolean to enable peer reviews

automatic_peer_reviews

Boolean to enable automatically assign peer reviewers

notify_of_update

Boolean to notify students that assignment content has changed.

muted

Boolean to mute assignment or not

grade_group_students_individual

Boolean to say group students will be graded individually.

ext_tool_url

Character of external tool url if type is "external_tool".

ext_tool_new_tab

Boolean of whether ext tool opens in new tab.

server

Test, beta, production, or other name in R.environ OR full url of server

...

Optional page options to pass to processRequest

turnitin_settings

Named list of turnitin settings.

external_tool_tag_attributes

Named list od external tool attributes.


erikpal/bRush documentation built on May 9, 2023, 8:27 p.m.