View source: R/createSection.R
| createSection | R Documentation | 
Create a new section for the provided course.
createSection(
  courseID,
  name,
  sis_section_id = "",
  start_at = "",
  end_at = "",
  restrict = TRUE,
  server = "test",
  ...
)
| 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 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.