Description Usage Arguments Value Examples
View source: R/get-submission-metadata.R
Get the metadata for all submissions by state filter: WAITING_FOR_SUBMISSION, SUBMITTED_WAITING_FOR_REVIEW, ACCEPTED, REJECTED.
1 2 3 4 5 6 | get_submissions_metadata(
syn,
group,
all_users = TRUE,
state_filter = "SUBMITTED_WAITING_FOR_REVIEW"
)
|
syn |
Synapse login object |
group |
The groupID. |
all_users |
TRUE to get all submissions in group; FALSE to get group submissions from caller only. |
state_filter |
The filter that is desired to gather submissions by. Filters are: 'WAITING_FOR_SUBMISSION', 'SUBMITTED_WAITING_FOR_REVIEW', 'ACCEPTED', 'REJECTED'. Only accepts one filter. |
A dataframe of the submission metadata, or NULL if there are no submissions that meet the criteria.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
# Note: Must have permissions to access group.
# The example group will not work for most individuals.
syn <- log_into_synapse()
sub_meta_to_review <- get_submissions_metadata(
syn = syn,
group = 13
)
sub_meta_accepted <- get_submissions_metadata(
syn = syn,
state_filter = "ACCEPTED",
group = 13
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.