Description Usage Arguments Value Examples
This function extracts any foreign code labels of a specified column from a data frame
input.
This is analagous to the levels
function that extracts the labels or levels
from a factor
data type.
1 | spss_code_labels(df, vars = NULL)
|
df |
a |
vars |
a column name (uses standard evalauation) in the data frame to examine any foreign labels |
a data frame
containing each code or label associated with each unique value (or level)
found in the specific column.
If there are no foreign labels, then a zero-dimnensional tibble
is returned
1 | spss_code_labels(airquality, Month)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.