-
Notifications
You must be signed in to change notification settings - Fork 187
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
str_rank()? #353
Comments
Note: @hadley suggested to me that |
Thanks for filing this issue! Unfortunately, since there doesn't seem to be much interest in it, I don't think it's a good fit for this package: developing good software requires relentless focus, which means that we have to say no to many good ideas. Even though I'm closing this issue, I really appreciate the feedback, and hope you'll continue to contribute in the future 😄 |
Ok, I just needed this so I do now think it's worthwhile. |
R base as sorting, ordering and ranking functions. Each fits a different purpose.
As far as I can see, stringr (and stringi) don't have ranking versions of their sorting and ordering functions.
One motivation could be obtaining natural sorting in dplyr:
Created on 2020-11-18 by the reprex package (v0.3.0)
Not sure this is needed in stringi since people using stringi should be capable to define, with no difficulty, a little function like the one above on the fly, but with stringr aiming at being more accessible it seems to make sense to me...
The text was updated successfully, but these errors were encountered: