get.dataset.index function

Get the index of specific dataset(s)