set_pyreadstat_meta_data#
- Survey.set_pyreadstat_meta_data(meta, type_of_scale_variables: str = 'numeric', erase_existing: bool = False, suppress_check_var_warning: bool = False)#
Use metadata returned from the python package pyreadstat to set properties of the variables (or questions).
See pyreadstat for more information.
Parameters#
- metapyreadstat metadata object type
A pyreadstat metadata object.
- type_of_scale_variablesstr
If a variable is of type ‘scale’, replace ‘scale’ by this string.
- erase_existingbool
Whether the existing information about the variables should be overwritten.
- suppress_check_var_warningbool
If True, don’t show a warning if there are ‘unusable’ variables. A variable is unusable, if we can not automatically create features for the corresponding question.