compress: Compresses a dataframe to make more efficient use of resources
Description
Converts date variables in a dataframe to integers
Integers represent time in days from the supplied origin
Converts specified numeric values to integer
This function is useful for keeping file sizes down and is used by the to_stata command to
save to Stata files.