v0.7.0
New Features and Functions
- Updated
sort_ard_hierarchical()to allow for different sorting methods at each hierarchy variable level. (#487) - Updated
sort_ard_hierarchical()andfilter_ard_hierarchical()to always keep attribute and total N rows at the bottom of the ARD. - Added argument
vartofilter_ard_hierarchical()to allow filtering by any hierarchy variable. (#467) - Added flexibility to filter by
byvariable level-specific values when usingfilter_ard_hierarchical()to allow for filtering of hierarchical ARDs by difference in two rates. (#438) - The
ard_strata()function has been updated to include the strata columns in the nested data frames. (#461) - Similar to
ard_stack_hierarchical(),ard_stack()contains anargsattribute to retain information about input arguments. - Added an article illustrating how to summarize long data structures. (#356)
- Added
ard_stack(.by_stat)andard_stack_hierarchical(by_stat)arguments that, whenTRUE(the default), includes a univariate ARD tabulation of thebyvariable in the returned ARD. (#335) shuffle_ard()passes down theargsattribute of the inputcardobject when present. (#484, @dragosmg)shuffle_ard()fills overall or group statistics with"Overall <column_name>"or"Any <column_name>". (#337, @dragosmg)shuffle_ard()messages if"Overall <column_names>"is accidentally present in the data and creates a unique label. (#465, @dragosmg)- Add
ADLBdata set. (#450)
Lifecycle Changes
-
The following functions have been renamed. The old functions still work in the package, and will be soft deprecated in the next release. (#470)
ard_continuous()toard_summary()ard_complex()toard_mvsummary()ard_categorical()toard_tabulate()ard_dichotomous()toard_tabulate_value()
-
shuffleand.shufflearguments (forard_stack_hierarchical()andard_stack()) are deprecated and users encouraged to callshuffle_ard()directly. (#475, @dragosmg)
What's Changed
- fix: Misc workflow fixes by @cicdguy in https://github.com/insightsengineering/cards/pull/472
- Update
filter_ard_hierarchical()to allow filtering by any hierarchy variable by @edelarua in https://github.com/insightsengineering/cards/pull/468 - Update .distinct default documentation for bind_ard() Closes #469 by @malanbos in https://github.com/insightsengineering/cards/pull/473
- Add option to filter hierarchical ARDs by difference in two rates by @edelarua in https://github.com/insightsengineering/cards/pull/439
- Fix bug when removing empty table sections with no
byby @edelarua in https://github.com/insightsengineering/cards/pull/479 - ADD adlb dataset by @ayogasekaram in https://github.com/insightsengineering/cards/pull/481
- 337 shuffle ard handle ard vars from stack by @dragosmg in https://github.com/insightsengineering/cards/pull/466
- 484
shuffle_ard()preserves theargsattribute by @dragosmg in https://github.com/insightsengineering/cards/pull/485 - add by_stats options to stacking functions by @bzkrouse in https://github.com/insightsengineering/cards/pull/491
- Add option to sort hierarchical ARDs differently at each level by @edelarua in https://github.com/insightsengineering/cards/pull/493
- Add Malan as author and Clymb Clinical as funder by @malanbos in https://github.com/insightsengineering/cards/pull/480
- Add args as an attribute to output of
ard_stack()by @bzkrouse in https://github.com/insightsengineering/cards/pull/489 - deprecate shuffling inside stack functions. by @dragosmg in https://github.com/insightsengineering/cards/pull/478
- Rename core cards functions by @ddsjoberg in https://github.com/insightsengineering/cards/pull/495
- retain strata values when nesting by @ayogasekaram in https://github.com/insightsengineering/cards/pull/496
- make deprecated functions visible by @bzkrouse in https://github.com/insightsengineering/cards/pull/502
- Long data ARDs Vignette by @ddsjoberg in https://github.com/insightsengineering/cards/pull/503
- Long data ards by @ddsjoberg in https://github.com/insightsengineering/cards/pull/504
New Contributors
- @malanbos made their first contribution in https://github.com/insightsengineering/cards/pull/473
- @dragosmg made their first contribution in https://github.com/insightsengineering/cards/pull/466
Full Changelog: insightsengineering/cards@v0.6.1...v0.7.0