I have an identifier variable in my dataset. For illustrative reasons see the code below:
Is there a way to get a one-liner with all the variables listet above? Ideally this would look like this:
147 410 890 ...
It would definitely make copying and pasting the IDs a lot easier. Looking at the option for the list-command, I wasn't able to find anything appropriate. Looking forward for any help.
Code:
. list id if q86_main_2 == 99, noobs +------+ | id | |------| | 147 | | 410 | | 890 | | 1287 | | 1303 | |------| | 1352 | | 1575 | | 1614 | | 1678 | | 1686 | |------| | 1688 | | 1768 | | 1964 | | 1979 | | 2021 | |------| | 2108 | +------+
147 410 890 ...
It would definitely make copying and pasting the IDs a lot easier. Looking at the option for the list-command, I wasn't able to find anything appropriate. Looking forward for any help.
Comment