getCourseElements {rqti} | R Documentation |
Get elements of the course by courseId from LMS
Description
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.
Usage
getCourseElements(object, course_id)
## S4 method for signature 'missing'
getCourseElements(object, course_id)
## S4 method for signature 'Opal'
getCourseElements(object, course_id)
Arguments
object |
An S4 object of class Opal that represents a connection to the LMS. |
course_id |
A length one character vector with course id. |
Value
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.
[Package rqti version 1.0.0 Index]