dataSet function

Internal function used to standardize datasets, as well as assign metadata.