This spreadsheet has to have column names '`id`', '`parentCriterion`', '`label`', '`description`', and '`isLeaf`'.

read_criteria_from_xl(
  input,
  showGraphs = TRUE,
  rootCriterionId = mdmcda::opts$get("rootCriterionId"),
  ...
)

Arguments

input

The file to read from.

showGraphs

Whether to show the anchoring graphs (passed on to [mdmcda::anchoringDf_to_anchoringGraphs()]).

rootCriterionId

The identifier of the root criterion.

...

Passed on to [mdmcda::anchoringDf_to_anchoringGraphs()].

Value

A `criteria` object.