combine trend and raw data into single object