get_datasets_list function

Generates list of datasets' labels