Skip to content
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

Enhancement Request: Add sorting functionality to tab function #28

Open
theshiniss opened this issue May 10, 2024 · 1 comment
Open
Labels
feature a feature request or enhancement good first issue ❤️ good issue for first-time contributors help wanted ❤️ we'd love your help!

Comments

@theshiniss
Copy link

In the tab function, it would be beneficial to include a new argument (sort = TRUE) to display the table in descending order of frequency. This enhancement would be similar to the count() function in tidyverse, where the sort argument defaults to FALSE. This addition would improve usability and provide users with more flexibility when working with tabulated data.

@gvelasq
Copy link
Owner

gvelasq commented May 19, 2024

Hello @theshiniss, thank you for your interest in tidytab and for the feature request. I agree that a sort argument to tab() would be useful.

Would you be able to submit a pull request that implements this feature?

@gvelasq gvelasq added feature a feature request or enhancement good first issue ❤️ good issue for first-time contributors help wanted ❤️ we'd love your help! labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement good first issue ❤️ good issue for first-time contributors help wanted ❤️ we'd love your help!
Projects
None yet
Development

No branches or pull requests

2 participants