add_values#
- SurveyVariable.add_values(valid_values: dict | None = None, invalid_values: dict | None = None)#
Add valid_values and invalid_values to this survey variable’s valid and invalid values, respectively.
Parameters#
- valid_valuesdict
The valid values to add, in a dict with items
(raw value, label)
. Existing valid values are not overwritten.- invalid_valuesdict
The invalid values to add, in a dict with items
(raw value, label)
. Existing invalid values are not overwritten.