get_resource_url {rqti}R Documentation

Create a URL using the resource's display name in LMS OPAL

Description

Create a URL using the resource's display name in LMS OPAL

Usage

get_resource_url(
  display_name,
  endpoint = NULL,
  api_user = NULL,
  api_password = NULL
)

Arguments

display_name

A length one character vector to entitle file in OPAL; file name without extension by default; optional.

endpoint

A string of endpoint of LMS Opal; by default it is got from environment variable RQTI_API_ENDPOINT. To set a global environment variable, you need to call Sys.setenv(RQTI_API_ENDPOINT='xxxxxxxxxxxxxxx') or you can put these command into .Renviron.

api_user

A character value of the username in the OPAL.

api_password

A character value of the password in the OPAL.

Value

A string value of URL.

Examples


url <- get_resource_url("my test")


[Package rqti version 0.3.0 Index]