Okay, I was hoping it was that easy.
We are going to need a lot more information. Basically we need enough code for a reproducible example ,or reprex (otherwise know as a minimal working example and a sample of your data.
A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where mydata is your data. Copy the output and paste it here.