Merge data for use in view