Description Format Methods Public fields Methods Examples
LAMP.API
An R6Class
generator object
query Query the LAMP Database. Query the LAMP Database using a transformation document. All GET operations in this API schema document are available by replacing the period with an underscore (i.e. `$Participant_view(...)` instead of `Participant.view(...)`). The `origin`, `from`, and `to` parameters of EventStream functions are preserved but the `transform` parameter is not.
@param body character
status code : 200 | 200 Success
return type : object
response headers :
status code : 0 | 400 Bad Request
return type : Error
response headers :
schema View the API schema document. View this API schema document from a live server instance.
status code : 200 | 200 Success
return type : object
response headers :
apiClient
Handles the client-server communication.
new()
APIApi$new(apiClient)
query()
APIApi$query(body, ...)
queryWithHttpInfo()
APIApi$queryWithHttpInfo(body, ...)
schema()
APIApi$schema(...)
schemaWithHttpInfo()
APIApi$schemaWithHttpInfo(...)
clone()
The objects of this class are cloneable with this method.
APIApi$clone(deep = FALSE)
deep
Whether to make a deep clone.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
#################### query ####################
library(LAMP)
var.body <- 'body_example' # character |
#Query the LAMP Database.
result <- LAMP.API$query(var.body)
#################### schema ####################
library(LAMP)
#View the API schema document.
result <- LAMP.API$schema()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.