Description Format Methods Public fields Methods Examples
LAMP.Researcher
An R6Class
generator object
all Get the set of all researchers. Get the set of all researchers.
@param transform character
status code : 200 | 200 Success
return type : array[object]
response headers :
status code : 400 | 400 Bad Request
return type : Error
response headers :
status code : 403 | 403 Authorization Failed
return type : Error
response headers :
status code : 404 | 404 Not Found
return type : Error
response headers :
status code : 0 | 500 Internal Error
return type : Error
response headers :
create Create a new Researcher. Create a new Researcher.
@param researcher Researcher
status code : 200 | 200 Success
return type : character
response headers :
status code : 400 | 400 Bad Request
return type : Error
response headers :
status code : 403 | 403 Authorization Failed
return type : Error
response headers :
status code : 404 | 404 Not Found
return type : Error
response headers :
status code : 0 | 500 Internal Error
return type : Error
response headers :
delete Delete a researcher. Delete a researcher.
@param researcher.id character
status code : 200 | 200 Success
return type : character
response headers :
status code : 400 | 400 Bad Request
return type : Error
response headers :
status code : 403 | 403 Authorization Failed
return type : Error
response headers :
status code : 404 | 404 Not Found
return type : Error
response headers :
status code : 0 | 500 Internal Error
return type : Error
response headers :
update Update a Researcher's settings. Update a Researcher's settings.
@param researcher.id character
@param researcher Researcher
@param transform character
status code : 200 | 200 Success
return type : character
response headers :
status code : 400 | 400 Bad Request
return type : Error
response headers :
status code : 403 | 403 Authorization Failed
return type : Error
response headers :
status code : 404 | 404 Not Found
return type : Error
response headers :
status code : 0 | 500 Internal Error
return type : Error
response headers :
view Get a single researcher, by identifier. Get a single researcher, by identifier.
@param researcher.id character
@param transform character
status code : 200 | 200 Success
return type : array[object]
response headers :
status code : 400 | 400 Bad Request
return type : Error
response headers :
status code : 403 | 403 Authorization Failed
return type : Error
response headers :
status code : 404 | 404 Not Found
return type : Error
response headers :
status code : 0 | 500 Internal Error
return type : Error
response headers :
apiClient
Handles the client-server communication.
new()
ResearcherApi$new(apiClient)
all()
ResearcherApi$all(transform = NULL, ...)
allWithHttpInfo()
ResearcherApi$allWithHttpInfo(transform = NULL, ...)
create()
ResearcherApi$create(researcher, ...)
createWithHttpInfo()
ResearcherApi$createWithHttpInfo(researcher, ...)
delete()
ResearcherApi$delete(researcher.id, ...)
deleteWithHttpInfo()
ResearcherApi$deleteWithHttpInfo(researcher.id, ...)
update()
ResearcherApi$update(researcher.id, researcher, transform = NULL, ...)
updateWithHttpInfo()
ResearcherApi$updateWithHttpInfo( researcher.id, researcher, transform = NULL, ... )
view()
ResearcherApi$view(researcher.id, transform = NULL, ...)
viewWithHttpInfo()
ResearcherApi$viewWithHttpInfo(researcher.id, transform = NULL, ...)
clone()
The objects of this class are cloneable with this method.
ResearcherApi$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 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | ## Not run:
#################### all ####################
library(LAMP)
#Get the set of all researchers.
result <- LAMP.Researcher$all()
#################### create ####################
library(LAMP)
var.researcher <- Researcher$new() # Researcher |
#Create a new Researcher.
result <- LAMP.Researcher$create(var.researcher)
#################### delete ####################
library(LAMP)
var.researcher.id <- 'researcher.id_example' # character |
#Delete a researcher.
result <- LAMP.Researcher$delete(var.researcher.id)
#################### update ####################
library(LAMP)
var.researcher.id <- 'researcher.id_example' # character |
var.researcher <- Researcher$new() # Researcher |
#Update a Researcher's settings.
result <- LAMP.Researcher$update(var.researcher.id, var.researcher)
#################### view ####################
library(LAMP)
var.researcher.id <- 'researcher.id_example' # character |
#Get a single researcher, by identifier.
result <- LAMP.Researcher$view(var.researcher.id)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.