get_labels | R Documentation |
The get_labels()
function obtains the item labels for a
specified set of items.
get_labels(items = NULL, trim = NULL, itemtable = NULL)
items |
A character vector of item names to return. The
default ( |
trim |
The maximum number of characters in the label. The
default |
itemtable |
A |
A named character vector with length(items)
elements with
item labels, in the same order as in items
.
builtin_itemtable()
, get_itemnames()
# get labels of first two Macarthur items
get_labels(get_itemnames(instrument = "mac", number = 1:2), trim = 40)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.