-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add S3 methods for sorting & filtering hierarchical tables #2097
base: main
Are you sure you want to change the base?
Conversation
This is awesome @edelarua ! Thank you!! When we're back from the holidays, let's chat about the user API. Maybe we can make it easier to implement from their end with respect to specifying the expression for filtering, for example. For example, would it be easier for them to specify the filter like |
This is on hold until we see exactly how this will be implemented in |
What changes are proposed in this pull request?
tbl_sort.tbl_hierarchical()
andtbl_filter.tbl_hierarchical()
to sort and filter hierarchical tables.Closes #2096
To consider:
.stat
argument or just require users to include"n"
in their table if they want to use it?Reviewer Checklist (if item does not apply, mark is as complete)
pkgdown::build_site()
. Check the R console for errors, and review the rendered website.devtools::test_coverage()
usethis::use_spell_check()
runs with no spelling errors in documentationWhen the branch is ready to be merged into master:
NEWS.md
with the changes from this pull request under the heading "# gtsummary (development version)
". If there is an issue associated with the pull request, reference it in parentheses at the end update (seeNEWS.md
for examples).usethis::use_version(which = "dev")
usethis::use_spell_check()
again