Skip to contents

Create a new course

Usage

create_course(
  owner_id = get_owner_id()$id,
  name = "New course",
  load_url = TRUE
)

Arguments

owner_id

The ownerId to use to create the course. Will attempt to retrieve ownerId based on credentials with get_owner_id()

name

Name of the new course. Required.

load_url

Load URL into an HTML Browser

Value

List of metadata of newly created course.

Examples

if (FALSE) {

owner_id <- get_owner_id()
course_df <- create_course(name = "Computer Science 101")
}