Learn R Programming

Rlabkey (version 2.1.121)

lsSchemas: List the available schemas

Description

Lists the available schemas given the current folder path for a Labkey session

Usage

lsSchemas(session)

Arguments

session
the session key returned from getSession

Value

  • A character array containing the available schema names

Details

Lists the available schemas given the current folder path for a Labkey session

See Also

getSession, {lsFolders, lsProjects}

Examples

Run this code
##  get a list of schemas available in the current session context
# library(Rlabkey)

lks<- getSession(baseUrl="http://localhost:8080/labkey", folderPath="/apisamples")

lsSchemas(lks) #returns several schema names, e.g. "lists", "core", "MS1", etc.

Run the code above in your browser using DataLab