I have a dataset that looks like this
Col1|Col2| Col3|Col4
101 Dog Sep Grooming
101 Dog Sep Birthday
303 Cat Oct Birthday
404 Dog Sep Grooming
I would want to create a dplyr script that recognizes row 1 and 2 as duplicates by the first three columns and then turns the second row blank with the exception of the 4th column. I don't want to delete the row.
Col1|Col2| Col3|Col4
101 Dog Sep Grooming
Birthday
303 Cat Oct Birthday
404 Dog Sep Grooming