Skip to contents

The ID and label of an instrument component

Value

A single character string. sf_label() returns "" when the component carries no label.

Examples

item <- sf_item("q1", "How satisfied are you?", type = "likert",
                choice_set = "agree5")
sf_id(item)
#> [1] "q1"
sf_label(item)
#> [1] "How satisfied are you?"