data_set function

Select and modify a data set for simulation