GZIPUSE: Stata module to use and save compressed dta files and compress .dta files

Nikos Askitas · RePEc: Research Papers in Economics · 2007

These modules are disk space saving utilities. Stata .dta files are known to compress well (sizes go down by factors of up to about 20). The penalty you pay is a small delay when you gzipuse or gzipsave. gzipuse uses gzipped files ending in .dgz. You may or may not specify the suffix. You may or may not specify the clear option. gzipsave saves data in memory in compressed form with a .dgz suffix in addition to the .dta. If you specify the replace option it will overwrite existing .dta .dgz files with the same name. The remove option removes the .dta file. The verbose option will return the disk saving in percentage if you kept the .dgz file only.

Read the paper · More papers on PaperTik