Codebook for datasets