amber.campaign {amberr}R Documentation

Get a campaign

Description

Get an interview design campaign by its name or identifier.

Usage

amber.campaign(amber, id, study = NULL, interviewDesign = NULL, query = list())

Arguments

amber

An Amber object

id

Interview design's name or identifier

study

Study identifier (name or id), optional.

interviewDesign

Interview design identifier (name or id), optional.

query

A search query

Value

A campaign object as a named list

See Also

Other studies functions: amber.campaigns(), amber.case_report_export(), amber.case_report_form(), amber.case_report_forms(), 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.campaign(a, id = "base", interviewDesign = "Adult trauma - baseline")
amber.logout(a)

## End(Not run)

[Package amberr version 1.1.0 Index]