Hello everyon,
I have two questions:
I have imported a .sav file. My variable names have all been truncated to 19 characters. How do I increase this?
I am using the very helpful user-written (by Nick Cox) ado called -rensfix-. The problem I am having is that as the variable names are truncated (all vars had the same suffix _respiratory before importing), I can't chance them all in one go to _1. Here is an example of 4 truncations of the same stub:
SpecifyTTTAttacks_r
ShortExer_respirato
CoughCharac_respira
CoughExer_respirato
AgePneumonia_respir
Is there a way of changing them all to _1 without having to go through every suffix?
I was hoping something like rensfix _respi* 1 would work!
I have two questions:
I have imported a .sav file. My variable names have all been truncated to 19 characters. How do I increase this?
I am using the very helpful user-written (by Nick Cox) ado called -rensfix-. The problem I am having is that as the variable names are truncated (all vars had the same suffix _respiratory before importing), I can't chance them all in one go to _1. Here is an example of 4 truncations of the same stub:
SpecifyTTTAttacks_r
ShortExer_respirato
CoughCharac_respira
CoughExer_respirato
AgePneumonia_respir
Is there a way of changing them all to _1 without having to go through every suffix?
I was hoping something like rensfix _respi* 1 would work!
Comment