-
Notifications
You must be signed in to change notification settings - Fork 132
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 Descriptive Name To First Column Of Tabyl And Sort N Descending #488
Comments
What command are you using that gives you a dot for a column name? The sorting has been discussed before and was actually in an early version of |
That's what I've been doing for the sorting. As for the column name, I'm on Ubuntu 20.04 using R 4.2.1 and janitor 2.1.0: library(tidyverse)
iris %>%
pull(Species) %>%
janitor::tabyl()
#> . n percent
#> setosa 50 0.3333333
#> versicolor 50 0.3333333
#> virginica 50 0.3333333 Created on 2022-09-19 by the reprex package (v2.0.1) |
Ah, the
|
Or |
Got it. Thanks. |
This is a feature request for the tabyl function. Having a dot for a column name is awkward, especially if it becomes part of another workflow. I usually rename it to unique_values.
Sorting n descending is just something else that came to mind that I often end up doing as well.
The text was updated successfully, but these errors were encountered: