-
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
tabyl() should further clean variable names that it returns #43
Comments
Eh, it's unclear. If you're doing further operations on the result, like a join, this is an advantage. But, you should call If you're not doing further operations, and are just printing to console, then the status quo is more useful in that it confirms what you did. And if you're printing it in a markdown table, you'll probably need to tweak the name anyway. It's easy to add a |
I'm fine with retaining the dirty name, like:
But unfortunate that this:
Gives "bad.name" instead of "bad name". |
Oh and this behavior (default and piped) should match that of |
Fixed - now piped calls to both functions will return exactly the variable name, with whatever warts it has, and default calls will return the data.frame name and |
For instance
tabyl(nchar(combined$
Associate's Year Awarded))
yields:IMO that should be combined_Associates_Year_Awarded for easier subsequent reference
The text was updated successfully, but these errors were encountered: