Skip to contents

Validate a SurveyStudio draft state

Usage

sframe_builder_validate_draft(
  meta,
  choices = list(),
  items = list(),
  scales = list(),
  branching = list(),
  checks = list(),
  analysis_plan = list(),
  models = list(),
  render = list()
)

Arguments

meta

List of instrument metadata.

choices, items, scales, branching, checks

Lists of draft components.

analysis_plan

List of draft analysis-plan blocks.

models

List of draft model specifications.

render

List of rendering settings (welcome, header/logo, thankyou, theme) carried from the loaded instrument so previews and exports match.

Value

A list with valid, problems, and instrument.