View source: R/labkey.getSchemas.R
labkey.getSchemas | R Documentation |
Fetch a list of schemas available to the current user in a specified folder context
labkey.getSchemas(baseUrl, folderPath)
baseUrl |
a string specifying the address of the LabKey Server, including the context root |
folderPath |
a string specifying the hierarchy of folders to the current folder (container) for the operation, starting with the project folder |
Schemas act as the name space for query objects in LabKey Server. Schemas are generatlly associated with a LabKey Server "module" that provides some specific functionality. Within a queriable object, the specific data that is visible depends on the current user's permissions in a given folder. Function arguments are the components of the url that identify the location of the server and the folder path.
The available schemas are returned as a single-column data frame.
Peter Hussey, peter@labkey.com
http://www.omegahat.net/RCurl/,
https://www.labkey.org/home/project-begin.view
labkey.selectRows
,
makeFilter
,
labkey.executeSql
,
labkey.updateRows
,
labkey.insertRows
,
labkey.importRows
,
labkey.deleteRows
,
labkey.getQueries
,
labkey.getQueryViews
,
labkey.getQueryDetails
,
labkey.getDefaultViewDetails
,
labkey.getLookupDetails
,
## Not run:
## List of schemas
# library(Rlabkey)
schemasDF <- labkey.getSchemas(
baseUrl="http://localhost:8080/labkey",
folderPath="/apisamples"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.