Rlabkey (version 3.2.1)

getFolderPath: Returns the folder path associated with a session

Description

Returns the current folder path for a LabKey session

Usage

getFolderPath(session)

Value

A character array containing the folder path, relative to the root.

Arguments

session

the session key returned from getSession

Author

Peter Hussey

Details

Returns a string containing the current folder path for the passed in LabKey session

References

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

See Also

getSession lsFolders

Examples

Run this code
if (FALSE) {

# library(Rlabkey)

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

}

Run the code above in your browser using DataLab