SPSS Python Extension function to automatically create dummy codes