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)
Synapse client object (e.g. output of `synapse$Synapse()`)
The number for a specific Synapse forms group.
A character vector of statuses to include from the set: `SUBMITTED_WAITING_FOR_REVIEW`, `ACCEPTED`, `REJECTED`.
A list of file paths to JSON files containing the submissions that have the requested status.