Description Usage Arguments Value Author(s) Examples
Where names/entities/themes/tags/etc are referenced with multiple variations of upper/lower/title/mixed case, it is often desirable to group these case-insensitively for analysis. This function does so while preserving the most common case for prettier reading and to avoid the need for subsequent look-ups.
1 | bundle_case(x)
|
x |
A character vector |
A character vector of same length as input, with case variants changed to the mode
Robin Edwards
1 | bundle_case(c('london','London','London','Paris','PARIS','paris','Paris'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.