Learn R Programming

rqti (version 1.0.0)

getLMSResourcesByName: Get select records about user resources by name.

Description

This method retrieves data about a user's resource by its name 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

getLMSResourcesByName(object, ...)

# S4 method for missing getLMSResourcesByName(object, display_name, rtype = NULL)

# S4 method for Opal getLMSResourcesByName(object, display_name, rtype = NULL)

Value

A dataframe with attributes of user's resources.

Arguments

object

An S4 object of class Opal that represents a connection to the LMS.

...

Additional arguments to be passed to the method, if applicable.

display_name

A string value withe the name of resource.

rtype

A string value with the type of resource. Possible values: "FileResource.TEST", "FileResource.QUESTION", or "FileResource.SURVEY".

Examples

Run this code
if (FALSE) { # interactive()
df <- getLMSResourcesByName("task_name")
}

Run the code above in your browser using DataLab