get_labels() function obtains the item labels for a
specified set of items.
get_labels(items = NULL, trim = NULL, itemtable = NULL)
A character vector of item names to return. The
NULL) returns the labels of all items.
The maximum number of characters in the label. The
trim = NULL does not trim labels.
data.frame set up according to the
same structure as
builtin_itemtable(). If not specified,
builtin_itemtable is used.
A named character vector with
length(items) elements with
item labels, in the same order as in
# get labels of first two Macarthur items get_labels(get_itemnames(instrument = "mac", number = 1:2), trim = 40) #> macgmd001 macgmd002 #> "Child walks in a straight line" "Walks backwards for 5 steps"