Basic implementation of data undersampling in rawdataview