Assemble an instrument
Arguments
- items
A list of panel_items (
item_likert(),item_choice(),item_open()), or a single item, which is wrapped in a list. Ids must be unique.- randomize
Which orders to randomize per respondent. The only implemented value is
"option_order"(the default): the options of a choice item are permuted per response, and a Likert scale is shown reversed for a random half of responses (an ordered scale has two readable orders, notk!)."item_order"is refused: every persona-item pair is an independent request, so the model never sees a questionnaire order and shuffling one would fabricate an exposure that was not administered.character(0)randomizes nothing. What each respondent saw is recorded in the responses.
Examples
panel_instrument(list(
item_likert("trust", "How much do you trust the city council?"),
item_open("reason", "What is the main reason for your answer?")))