Splits data by year