SELECT IF
Permanently deletes cases that do not meet a condition (or only for the next procedure after TEMPORARY).
Syntax
Section titled “Syntax”SELECT IF (condition).Synopsis
Section titled “Synopsis”| Kind | Transformation (pending until data is needed) |
| Body | free-form body |
| Changes data | yes, undoable |
Examples
Section titled “Examples”SELECT IF (age >= 18 AND NOT MISSING(income)).- Cases where the condition is missing are deleted. To exclude cases without deleting them use FILTER.
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.