You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
freqs - When freqs was run on a factor variable in the past, the "value" column would pull the character labels even when the factor had underlying numbers. This version of y2clerk updates freqs to be more consistent with other types of haven labelled variables and pulls the underlying numbers of factor variables for use in the value column.
New arguments
freqs - show_missing_levels: whether to keep response levels with no data (default: TRUE). For example, set to TRUE if you know no one answered "very dissatisfied" on a scale, but you still want that empty level of the scale present in the output of freqs.
New function
to_haven_y2 - Convert a factor variable or a character variable to a haven labelled variable