-
TIL about @Stata’s strL (long string) variable type. WOW! Allows great storage savings when a var contains different-length strings (or many missing), especially if you also let -compress- “coalesce” repeated values. recast strL yourvar compress 1/2 @JesseWursten/1222195621617995788
-
btw I wound up finding this so useful that I made a little @Stata command that does this on one line: -strcompress- Installs in one line; see @lukestein/1222309851168010241