Hi guys,
I'm currently working on identifying some weird values and outputting them for manual inspection. So, the dataset of all problematic subjects that I have will be like this:
What I want to do is to put all id in this dataset into a local variable/list, so that I can do something like this
My question is: how to extract the id list so that I can pass them into a local variable/list?
While I'm trying to find the answer by myself, any suggestion/article/reference from you guys would definitely be helpful.
Thanks in advance,
Chung-Li
I'm currently working on identifying some weird values and outputting them for manual inspection. So, the dataset of all problematic subjects that I have will be like this:
id | var1 | var2 | va3 |
a | 5 | 6 | 4 |
b | 4 | 5 | 5 |
c | 5 | 4 | 3 |
d | 6 | 5 | 2 |
Code:
local chklist XXXX foreach var in `chklist' { ... }
While I'm trying to find the answer by myself, any suggestion/article/reference from you guys would definitely be helpful.
Thanks in advance,
Chung-Li
Comment