new code to compile HES activity data into one dataframe ready for next stage