8000 Release v0.6.0 · y2analytics/y2clerk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v0.6.0

Compare
Choose a tag to compare
@nick-moffitt nick-moffitt released this 01 Jul 19:35
· 112 commits to master since this release

Breaking changes

  • 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
0