Implement the view locations function by dataset name