Get the submissions based on status. JSON files are downloaded to a temp directory whose path is returned, along with the submission's form data ID.

get_submissions(syn, group, statuses)

Arguments

syn

Synapse client object (e.g. output of `synapse$Synapse()`)

group

The number for a specific Synapse forms group.

statuses

A character vector of statuses to include from the set: `SUBMITTED_WAITING_FOR_REVIEW`, `ACCEPTED`, `REJECTED`.

Value

A list of file paths to JSON files containing the submissions that have the requested status.