lsFolders: List the available folder paths

View source: R/schemaObjects.R

lsFoldersR Documentation

List the available folder paths

Description

Lists the available folder paths relative to the current folder path for a LabKey session

Usage

lsFolders(session) 

Arguments

session

the session key returned from getSession

Details

Lists the available folder paths relative to the current folder path for a LabKey session

Value

A character array containing the available folder paths, relative to the project root. These values can be set on a session using curFolder<-

Author(s)

Peter Hussey

References

https://www.labkey.org/Documentation/wiki-page.view?name=projects

See Also

getSession, lsProjects, lsSchemas

Examples

## Not run: 

##get a list if projects and folders
# library(Rlabkey)

lks<- getSession("https://www.labkey.org", "/home")

#returns values "/home" , "/home/_menus" , ...
lsFolders(lks)


## End(Not run)

Rlabkey documentation built on Nov. 8, 2023, 1:06 a.m.