thomas-rasmussen / sas_macros

SAS macros
Creative Commons Zero v1.0 Universal
5 stars 4 forks source link

descriptive_summary: more flexiable var_types and var_stats parameters #58

Open thomas-rasmussen opened 2 years ago

thomas-rasmussen commented 2 years ago

As of right now, if and/or are used, types/stats of all variables used in must be included, and in the same order. It would be nice, if partial specification of some variables types/stats could be done and the rest filled in by the macro.

Maybe like var_types = var1|binary var4|cont and var_stats = var2|median_q1q3 and the macro fills in the blanks and checks that everything is compatible afterwards.

Something similar has been implented in one of the other macros? Maybe look at that for inspiration.