I have a single column data frame where each row is a statement. The statements are mostly alpha characters, but there are a few numeric characters. I am trying to locate all numeric characters and replace them with their corresponding alpha characters.
Basically, I want to go from this
"I looked at the watermelons around 12 today"
"There is a dog on the bench"
"the year is 2017"
"I am not hungry"
"He turned 1 today"
into (or something similar to)
"I looked at the watermelons around twelve today"
"There is a dog on the bench"
"the year is two thousand seventeen"
"I am not hungry"
"He turned one today"
There are functions I am familiar with that turn numbers into words, such as the numbers_to_words function from the xfun package, but I don't know how to do this systematically for the entire data frame.