I'd like to confirm whether there is any syntax that would allow me to prescribe variable labels in the generate's syntax, something like hypothetical:
Code:
generate balance=income-spent, varlabel("Balance at the end of the month")
If it doesn't exist yet, would be good to have it some time in the future.This would help quite a bit making the programs shorter and more documented.
Currently one can do that in 2 statements, but that requires retyping the name of the variable and may be spaced out in the code:
Code:
generate balance=income-spent variable label balance "Balance at the end of the month"
0 Response to Variable label in generate?
Post a Comment