Hello,
I haven't checked in at Stata Forum in a while, so I don't know if this has been discussed lately.
I want to describe a variable in a file, and obtain its type. I can get this information easily from the in-memory dataset, but not from a file. If I describe the variable in the file...
des somevar using somefile
I get to see the type, but I don't know how to capture that information -- if it is possible.
Of course, I can -use- the file, and capture the desired information, but I'd like to know if I can avoid that route.
I use Stata 13.
Thanks
--David
I haven't checked in at Stata Forum in a while, so I don't know if this has been discussed lately.
I want to describe a variable in a file, and obtain its type. I can get this information easily from the in-memory dataset, but not from a file. If I describe the variable in the file...
des somevar using somefile
I get to see the type, but I don't know how to capture that information -- if it is possible.
Of course, I can -use- the file, and capture the desired information, but I'd like to know if I can avoid that route.
I use Stata 13.
Thanks
--David
Comment