Dear Statalisters -
I have a large dataset and am looking to list out the names of all my string variables. I have found the command ds which has provided the ability to limit the output of the variables to string: ds, has(type string)
Unfortunately we have some longer variable names in the dataset which means that a number of them are summarized using the ~ mid variable name. For example:
cf_antibio~r
qol_entere~y
qol_startt~e
I'd like to have the full variable name output here instead, yet the fullnames option (used within d procedure) doesn't work in this command.
Does anyone have suggestions for outputting the names of all string variables from a dataset as full names?
Thanks in advance for your advice.
Best,
Alison
0 Response to ds - how to display fullnames
Post a Comment