added selection by name to get_datasets