extents the str_wrap() function from the stringr package to work with longer strings.

word_to_line(words, wot_number = 1000)

Arguments

words

data.frame. Where each row is a separate word words with the column name text.

wot_number

Numeric. how many words to split whole string by.

Value

Character. have each element be a separate line.