seems like the problem is going to be absolutely basic, but I cannot work out a simple way to do it.
I have a simple data.frame
date qua