Statscraft 0.7.0, release v0.7.0
IF
Assign a value only for the cases where a condition holds.
Syntax
IF (condition) target = expression.
The parentheses around the condition are optional.
Example
IF (age >= 65 AND region = 2) senior_south = 1.
statscraft help IF prints the same text in the terminal. All commands