Generate dictionary file from Stata data -
i know can create dta
file if have dat
file , dictionary dct
file. however, want know whether reverse possible. in particular, if have dta
file, possible generate dct
file along dat
file (stata has export
command allows export ascii file haven't found way generate dct
file). stattransfer generate dct
, dat
file, wondering if possible without using stattransfer.
yes. outfile
create dictionaries export data in ascii (text) form.
if want dictionaries , dictionaries alone, need delete data part.
if want 2 separate files, need split each file produced outfile
.
either programmable in stata, or use favourite text editor or scripting language.
dictionaries in ways idea, not important stata in versions.
Comments
Post a Comment