createSection: Create a new section

View source: R/createSection.R

createSectionR Documentation

Create a new section

Description

Create a new section for the provided course.

Usage

createSection(
  courseID,
  name,
  sis_section_id = "",
  start_at = "",
  end_at = "",
  restrict = TRUE,
  server = "test",
  ...
)

Arguments

courseID

Course ID to create the section in.

name

Character of the name of the section

sis_section_id

Character of the sis id of the section

start_at

Section start date in ISO8601 format, e.g. 2011-01-01T01:00Z

end_at

Section end date in ISO8601 format, e.g. 2011-01-01T01:00Z

restrict

Boolean, set to true to restrict user enrollments to the start and end dates of the section.

server

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

...

Optional page options to pass to processRequest


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