Skip to contents

Reads the stable identifier used to refer to a component elsewhere in the instrument.

Usage

sf_id(x, ...)

Arguments

x

An sf_item(), sf_choices(), sf_scale(), sf_branch(), sf_check() or sf_model() object.

...

Passed to methods.

Value

A single character identifier.

Examples

sf_id(sf_item("q1", "Satisfaction", type = "numeric"))
#> [1] "q1"