| labguru_add_element | R Documentation |
Add a new element to labguru
labguru_add_element(
data = NULL,
img_id = NULL,
rscript = NULL,
experiment_procedure_id,
return = "id",
server = Sys.getenv("LABGURU_SERVER"),
token = Sys.getenv("LABGURU_TOKEN")
)
data |
character(1) custom html to add or NULL (default), |
img_id |
numeric(1) indicating the image (attachment) id on the labguru server or NULL (default), |
rscript |
character(1) file name of an .R file (or .txt file) or NULL (default), |
experiment_procedure_id |
numeric(1) The experiment procedure id for which to add a new element |
return |
character(1) whether the function returns either 'id' (default) or 'all' element information |
server |
character(1) indicating the server URL |
token |
character(1) access token for API authentication |
list with either element id only or all element information
## Not run:
labguru_add_element(data = "<p>Hello World</p>",
experiment_procedure_id = 1,
return = "id")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.