v0.5.0
New Features and Functions
- Added functions
rename_ard_groups_shift()andrename_ard_groups_reverse()for renaming the grouping variables in the ARD. (#344) - Added an option to specify the default rounding in the package:
cards.round_type. See?cards.optionsfor details. (#384) - Added the
print_ard_conditions(condition_type)argument, which allows users to select to return conditions as messages (the default), or have warnings returned as warnings and errors as errors. (#386) - Added the
all_ard_group_n(types)argument to allow separate selection ofgroupXandgroupX_levelcolumns. - Added the
tidy_ard_column_order(group_order)argument that allows users to specify whether the grouping variables are listed in ascending order (the default) or descending order. The output ofard_strata()now callstidy_ard_column_order(group_order="descending").
Other Updates
- A new article has been added detailing how to create new ARD functions.
- Results are now sorted in a consistent manner, by descending groups and strata. (#342, #326)
Lifecycle Updates
- Function
label_cards()has been renamed tolabel_round(), which more clearly communicates that is returns a rounding function.
What's Changed
- Add CRAN release template by @cicdguy in https://github.com/insightsengineering/cards/pull/364
- Replace logo.png by logo.svg by @llrs-roche in https://github.com/insightsengineering/cards/pull/367
- Revert to png logo by @llrs-roche in https://github.com/insightsengineering/cards/pull/370
- Adding revdepcheck Instructions to PR Template by @ddsjoberg in https://github.com/insightsengineering/cards/pull/369
- 342 sorting by @bzkrouse in https://github.com/insightsengineering/cards/pull/368
- adding group rename functions by @ddsjoberg in https://github.com/insightsengineering/cards/pull/376
- Adding cumulative counts and percents to
ard_categorical()by @ddsjoberg in https://github.com/insightsengineering/cards/pull/373 - Update
ard_hierarchical()denominatorargument description by @edelarua in https://github.com/insightsengineering/cards/pull/374 - Adding links to README of slides/recordings by @ddsjoberg in https://github.com/insightsengineering/cards/pull/377
- fixes #261 by @kimjj93 in https://github.com/insightsengineering/cards/pull/383
- Adde
print_ard_conditions(condition_type)argument by @ddsjoberg in https://github.com/insightsengineering/cards/pull/387 - Doc Update: Clarifying proportions vs percentages by @ddsjoberg in https://github.com/insightsengineering/cards/pull/388
- Removing some experimental badges by @ddsjoberg in https://github.com/insightsengineering/cards/pull/389
- 173 improve contributing by @jtalboys in https://github.com/insightsengineering/cards/pull/390
- Adding functionality to include base R rounding by @ddsjoberg in https://github.com/insightsengineering/cards/pull/385
- 357 stat methods vignette by @jtalboys in https://github.com/insightsengineering/cards/pull/365
- lifecycle by @ddsjoberg in https://github.com/insightsengineering/cards/pull/395
- Updated order of grouping variables in ARDs by @ddsjoberg in https://github.com/insightsengineering/cards/pull/394
New Contributors
- @llrs-roche made their first contribution in https://github.com/insightsengineering/cards/pull/367
- @kimjj93 made their first contribution in https://github.com/insightsengineering/cards/pull/383
Full Changelog: insightsengineering/cards@v0.4.0...v0.5.0