str_remove_ordinal | R Documentation |
Removes mixed text/numeric ordinal numbers (i.e. "1st", "2nd", "23rd"). This
function was inspired by the replace_ordinal()
function in the
textclean package, and re-uses pieces of its code.
str_remove_ordinal(string)
string |
A character vector |
num_paste |
A logical. If |
A |
logical. If |
... |
Ignored. |
Currently only implemented for ordinal values 1 through 100.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.