keep_levels()
you can define what factors you want to keep in your count layers without having to recode/drop factors at the table level.set_denoms_by()
has been enhanced for nested count layers. You can now your nested count target variables as denominators.add_risk_difference()
would error out when you used it in a nested count layer that had a character value as the first variable.bycount
if the layer level where logic caused a value to be droped. This was fixed and tested for future development.by
variable indicies was changed from N -> factor -> alphabetical to factor -> N -> alphabetical to allow users to override variables that have N counterparts that might have additional values not present in the target.set_missing_count()
interface was made more intuitive. A new argument denom_ignore
was added.set_denom_ignore()
is now defunct. It was replaced with the denom_ignore
argument in set_missing_count()
add_total_row()
now uses the count_missing
argument and will no longer have any side effects on the denominators.set_denom_where()
is now usable by shift layers.tibble
3.0.4 that caused factors to be displayed incorrectly in row labels and sorting columns to populate incorrectly.add_total_row()
interface has been updated. It now takes an f_str object can be formatted differently than the rest of the table. A parameter was also added note if total rows should include missing counts.set_missing_count()
interface was updated. The ‘string’ parameter was removed and replaced with the ellipsis. Instead of passing a vector, a user would pass any number of character vectors that are named.denom_ignore
is used but no missing count strings are specified.set_denom_where()
was added to allow a user to change how the denominators are filtered when calculating percentages.Bug Fixes
Fixes a bug where “Totals” in numeric data may not take into account the where logic at the layer level and thus give inaccurate percentages
Other Changes
add_total_row()
function is more intuitive. It now uses the denoms_by
variables to determine how to calculate the totals.
Initial release onto CRAN.
by
variablecols
argument is usedget_numeric_data
and the new function get_statistics_data
to get risk difference raw numbers. Data may also be filtered directly from both functions.Beta release for Tplyr with introduction of numerous new features:
General updates: - Calculate your header N counts based on the population dataset or the target dataset. The alpha release had an option to set the population data but this wasn’t actually used anywhere in the internals. - Use these header N counts as token replacements when using the add_column_headers
function. - Order variables are now added to the built dataset to allow you to sort the output dataset as you wish with numeric variables. - Count layer updates: - Optionally use the population data N counts as denominators for percent calculation. - For multi-level count summaries, nest the row label columns together to present both row labels in a single column - You can now present both distinct and non-distinct counts instead of one or the other - Sorting options allow you to order results from the target variable values or from derived counts within a specified column - Risk difference calculations can now be added as additional columns, with flexible options for presentation - Descriptive statistics layer updates: - The custom summary functionality has been updated to apply to multi-variable summaries, which results in an interface change - Automatic decimal precision has been added to allow you to base the presentation on the precision of the data as collected
Initial alpha release of Tplyr