Retrieve labels for certain variables
Arguments
- df
(
data.frame
) containing columns with label attribute.- vars
(
character
) variable names indf
.
Details
The labels will be returned if the column has label
attribute, otherwise the column name will be returned.
Any values between brackets will be replaced with dunlin::render_safe
.