get_submissions: Get the submissions based on status

View source: R/data-gather-clean.R

get_submissionsR Documentation

Get the submissions based on status

Description

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.

Usage

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.


Sage-Bionetworks/stopadforms documentation built on Aug. 31, 2024, 11:53 p.m.