View source: R/labkey.rstudio.R
labkey.rstudio.initReport | R Documentation |
LabKey-RStudio integration helper. Not intended for use outside RStudio.
labkey.rstudio.initReport(apiKey = "", baseUrl = "", folderPath,
reportEntityId, skipViewer = FALSE, skipEdit = FALSE)
apiKey |
session key from your server |
baseUrl |
server location including context path, if any. e.g. https://www.labkey.org/ |
folderPath |
a string specifying the |
reportEntityId |
LabKey report's entityId |
skipViewer |
(TRUE | FALSE) TRUE to skip setting up LabKey schema viewer in RStudio |
skipEdit |
(TRUE | FALSE) TRUE to open file in editor |
## Not run:
## RStudio console only
library(Rlabkey)
labkey.rstudio.initReport(apiKey="abcdef0123456789abcdef0123456789",
baseUrl="http://labkey/", folderPath="home",
reportEntityId="0123456a-789b-1000-abcd-01234567abcde")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.