Just a brief note that the function DescriptivesTable throws all kinds of errors if the args popdf, table_metadata, and label_lookup are not of type data.table because the code-in-function uses data.table specific syntax.
From a user pov think it be good to add in checks if these args are data.tables and if not, stops executing the function :-)
Just a brief note that the function
DescriptivesTablethrows all kinds of errors if the argspopdf,table_metadata, andlabel_lookupare not of typedata.tablebecause the code-in-function usesdata.tablespecific syntax.From a user pov think it be good to add in checks if these args are
data.tablesand if not, stops executing the function :-)