split data on a daily basis