Created
September 6, 2021 09:17
-
-
Save j-jayes/767244d6b7413fa64f3263ee61efa2db to your computer and use it in GitHub Desktop.
Function for my personal package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## I should include a function in a personal package that takes snake case, as genrated by `janitor::clean_names()` and then makes it to sentence with spaces | |
| ### It would look like: | |
| mutate(col = str_to_sentence(str_replace_all(col, "_", " "))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment