Added getLocalDataset function [1303]