Learn R Programming

synapseClient (version 1.14-0)

synGetSubmissions: synGetSubmissions

Description

Get the Submissions for a given Evaluation.

Usage

synGetSubmissions(evaluationId, status, limit, offset)

Arguments

evaluationId
The evaluation queue containing the submissions of interest.
status
An optional filter on the submissions. One of "RECEIVED","OPEN","CLOSED","SCORED","INVALID","VALIDATED","EVALUATION_IN_PROGRESS","REJECTED",or "ACCEPTED".
limit
The optional limit 'paging' parameter, default is 10.
offset
The optional offset 'paging' parameter, default is 0.

Value

an object of type PaginatedResults. Note, this function does not download files associated with Submissions. For that please see synGetSubmission.

See Also

synGetSubmission synGetOwnSubmissions synGetSubmissionStatus PaginatedResults

Examples

Run this code
## Not run: 
# # one of "RECEIVED","OPEN","CLOSED","SCORED","INVALID","VALIDATED","EVALUATION_IN_PROGRESS","REJECTED",or "ACCEPTED"
# status<-"SCORED"
# # get the first 100 submissions in the given evaluation queue having the given status
# submissions<-synGetSubmissions(evaluationId, status, limit=100, offset=0) 
# # get an arbitrary Submission from the list
# submission<-submissions@results[[1]]
# ## End(Not run)

Run the code above in your browser using DataLab