Submission : get_evaluation_submissions
Submission_GetEvaluationSubmissions.RdRetrieves all Submissions for a specified Evaluation queue.
Arguments
- cls
(Submission) The Submission class (or an existing Submission instance) to dispatch this call to.
- evaluation_id
(character) The ID of the evaluation queue.
- status
(Optional[character]) Optionally filter submissions by a submission status, such as SCORED, VALID, INVALID, OPEN, CLOSED or EVALUATION_IN_PROGRESS.
- synapse_client
(Optional[Synapse]) If not passed in, the last created instance from the Synapse class constructor will be used.
Value
A GeneratorWrapper object that yields Submission objects as they are retrieved from the API. Use as.list() to materialize all results into a list, or nextElem() to retrieve one Submission at a time.
Examples
if (FALSE) { # \dontrun{
## Getting submissions for an evaluation
# Get SCORED submissions from a specific evaluation.
library(synapser)
synLogin()
submissions = as.list(Submission() |> synGetEvaluationSubmissions(
evaluation_id = "9999999",
status = "SCORED"
))
print(sprintf("Found %d submissions", length(submissions)))
} # }