Create master dataset