View source: R/schemaObjects.R
lsProjects | R Documentation |
Lists the projects available. Takes a string URL instead of a session, as it is intended for use before creating a session.
lsProjects(baseUrl)
baseUrl |
a string specifying the |
List the projects available at a given LabKey Server address.
A character array containing the available projects, relative to the root. These values can be set on a session using curFolder<-
Peter Hussey
https://www.labkey.org/home/project-begin.view
getSession
, lsFolders
, lsSchemas
## Not run:
## get list of projects on server, connect a session in one project,
## then list the folders in that project
# library(Rlabkey)
lsProjects("https://www.labkey.org")
lkorg <- getSession("https://www.labkey.org", "/home")
lsFolders(lkorg)
lkorg <- getSession("https://www.labkey.org", "/home/Study/ListDemo")
lsSchemas(lkorg)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.