amber.form_revisions {amberr} | R Documentation |
Get the form revisions
Description
Get the revisions of one or several form(s).
Usage
amber.form_revisions(
amber,
study = NULL,
form = NULL,
query = list(),
skip = 0,
limit = 100,
df = TRUE
)
Arguments
amber |
An Amber object |
study |
Study identifier (name or id), optional. |
form |
Form identifier (name or id), optional. |
query |
The search query |
skip |
Number of items to skip |
limit |
Max number of items |
df |
Return a data.frame (default is TRUE) |
Value
A data.frame (or a named list of raw results when 'df' is FALSE)
See Also
Other studies functions:
amber.campaign()
,
amber.campaigns()
,
amber.case_report_export()
,
amber.case_report_form()
,
amber.case_report_forms()
,
amber.case_reports()
,
amber.form()
,
amber.form_revision()
,
amber.forms()
,
amber.interview_design()
,
amber.interview_designs()
,
amber.interview_export()
,
amber.interviews()
,
amber.participant()
,
amber.participants()
,
amber.studies()
,
amber.study()
Examples
## Not run:
a <- amber.login("https://amber-demo.obiba.org")
amber.form_revisions(a, form="61e69a22fea2df2f3108b508", skip = 0, limit = 10)
amber.form_revisions(a, form="Adult trauma")
amber.form_revisions(a, study="Trauma Registry", query = list(revision = 1))
amber.form_revisions(a, query = list(revision = 1))
amber.logout(a)
## End(Not run)
[Package amberr version 1.1.0 Index]