Category keysΒΆ
Category keys are only relevant to microdata-based datasets.
Category keys are not part of the codebook, but are also described here for completeness because they have been part of the codebook in previous versions of the software.
Cantabular can accept category keys or can generate them itself. Since the category keys are secret data, they are supplied separately to the codebook.
They are supplied in a single file with the following header:
variable name,category code,category key
Each line has three fields:
The variable name field is the variable name from the codebook.
The category code field is the code from the codebook used in the microdata CSV.
The category key is a decimal unsigned integer in the range 0 to 65535 inclusive.
It is used for the cell key algorithm.