Separate rows of a character column in R

357 Views Asked by At

I am using the genius package in R. The package pulls lyrics by line as characters, and I want to separate the lines into the individual words.

I have this code:

Albums <- bind_rows(TaylorSwift, Fearless, SpeakNow, Red, nineteeneightynine, reputation, Lover, folklore, evermore, Fearless2)

separate_rows(Albums$lyric, sep = " ")

solved thanks to greg, didn't know dataframe and column were separate args Running it returns this error:

no applicable method for 'separate_rows' applied to an object of class "character"

What do?

0

There are 0 best solutions below