v0.3.0
New Features & Updates
- Added functions
ard_stack_hierarchical()andard_stack_hierarchical_count()that ease the creation of ARDs for multiple nested or hierarchical structures. (#314) - Added functions
update_ard_fmt_fn()andupdate_ard_stat_label()to update an ARD's formatting function and statistic label, respectively. (#253) - Added
rename_ard_columns(unlist)argument, which unlists specified columns in the ARD data frame. (#313) - Added
ard_strata()function to ease the task of calculating ARDs stratified by one or more other categorical variables. (#273) - Added functions
mock_continuous(),mock_categorical(),mock_dichotomous(),mock_missing(),mock_attributes()to build ARDs in the absence of a data frame. Where applicable, the formatting functions are set to return'xx'or'xx.x'to aid in the construction of mock tables or table shells. (#256) - Added functions for printing results from
eval_capture_conditions(). Captured conditions can be printed as either errors or messages withcaptured_condition_as_error()andcaptured_condition_as_message(), respectively. (#282)
Other Updates
- The
ard_hierarchical_count()function has been updated to match the behavior ofard_hierarchical()and results are now only returned for the last column listed in thevariablesarguments, rather than recursively counting all variables. - Add columns
'fmt_fn','warning', and'errors'toard_attributes()output. (#327) - Add checks for factors with no levels, or any levels that are
NAintoard_*functions (#255) - Any rows with
NAorNaNvalues in the.bycolumns specified inard_stack()are now removed from all calculations. (#320)
What's Changed
- Adding download badge to README by @ddsjoberg in https://github.com/insightsengineering/cards/pull/318
- Workflow propagations by @walkowif in https://github.com/insightsengineering/cards/pull/304
- Removing NA
ard_stack(.by)values from calculations by @ddsjoberg in https://github.com/insightsengineering/cards/pull/321 - Adding fns for updating ARDs by @ddsjoberg in https://github.com/insightsengineering/cards/pull/315
- Added functions to print conditions by @ddsjoberg in https://github.com/insightsengineering/cards/pull/322
- Adding
rename_ard_columns(unlist)argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/323 - Added functions for mock tables by @ddsjoberg in https://github.com/insightsengineering/cards/pull/328
- Adding
ard_stack_hierarchical()function by @ddsjoberg in https://github.com/insightsengineering/cards/pull/324 - Check factor variables for
NAor completely missing levels inard_*functions by @jtalboys in https://github.com/insightsengineering/cards/pull/331 - Adding links to other resources in README by @ddsjoberg in https://github.com/insightsengineering/cards/pull/340
- update AE examples by @bzkrouse in https://github.com/insightsengineering/cards/pull/339
- Updating error message in
rename_ard_columns()by @ddsjoberg in https://github.com/insightsengineering/cards/pull/341 - Add columns
fmt_fn,warning, anderrorstoard_attributesoutput by @jtalboys in https://github.com/insightsengineering/cards/pull/343 - Adding
ard_strata()by @ddsjoberg in https://github.com/insightsengineering/cards/pull/303
New Contributors
- @jtalboys made their first contribution in https://github.com/insightsengineering/cards/pull/331
Full Changelog: insightsengineering/cards@v0.2.2...v0.3.0