amber.case_report_forms {amberr} | R Documentation |
Get the case report forms
Description
Get the case reports of one or several form(s).
Usage
amber.case_report_forms(
amber,
study = NULL,
form = NULL,
revision = 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. |
revision |
Revision number, optional, default is NULL (means that the case report form uses the latest form revision). |
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_reports()
,
amber.form()
,
amber.form_revision()
,
amber.form_revisions()
,
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.case_report_forms(a, form="61e69a22fea2df2f3108b508", skip=0, limit=10)
amber.case_report_forms(a, form="Adult trauma")
amber.case_report_forms(a, study="Trauma Registry", query = list(revision = 1))
amber.case_report_forms(a, query = list(revision = 1))
amber.logout(a)
## End(Not run)