v0.3.0
insights-engineering-bot
released this
04 Oct 14:45
·
50 commits
to main
since this release
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 thevariables
arguments, 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
NA
intoard_*
functions (#255) - Any rows with
NA
orNaN
values in the.by
columns specified inard_stack()
are now removed from all calculations. (#320)
What's Changed
- Adding download badge to README by @ddsjoberg in #318
- Workflow propagations by @walkowif in #304
- Removing NA
ard_stack(.by)
values from calculations by @ddsjoberg in #321 - Adding fns for updating ARDs by @ddsjoberg in #315
- Added functions to print conditions by @ddsjoberg in #322
- Adding
rename_ard_columns(unlist)
argument by @ddsjoberg in #323 - Added functions for mock tables by @ddsjoberg in #328
- Adding
ard_stack_hierarchical()
function by @ddsjoberg in #324 - Check factor variables for
NA
or completely missing levels inard_*
functions by @jtalboys in #331 - Adding links to other resources in README by @ddsjoberg in #340
- update AE examples by @bzkrouse in #339
- Updating error message in
rename_ard_columns()
by @ddsjoberg in #341 - Add columns
fmt_fn
,warning
, anderrors
toard_attributes
output by @jtalboys in #343 - Adding
ard_strata()
by @ddsjoberg in #303
New Contributors
Full Changelog: v0.2.2...v0.3.0