getCourseElements | R Documentation |
This method gets elements of the user's course by its courseId on Learning Management System (LMS). If no LMS connection object is provided, it attempts to guess the connection using default settings (e.g., environment variables). If the connection cannot be established, an error is thrown.
getCourseElements(object, course_id)
## S4 method for signature 'missing'
getCourseElements(object, course_id)
## S4 method for signature 'Opal'
getCourseElements(object, course_id)
object |
An S4 object of class Opal that represents a connection to the LMS. |
course_id |
A length one character vector with course id. |
A dataframe with the elements of the course.
A dataframe with the data of the elements of the course (fields: nodeId, shortTitle, shortName, longTitle) on LMS Opal.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.