Learn R Programming

rgoogleclassroom (version 1.0.0)

create_course: Create a new course

Description

Create a new course

Usage

create_course(owner_id = get_owner_id()$id, name = NULL)

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.

Examples

Run this code
if (FALSE) {

owner_id <- get_owner_id()
course_df <- create_course(owner_id, name = "New course")
}

Run the code above in your browser using DataLab