Casestatement (or an 'if/else' statement), which allows you to specify one or more conditions to specify the values of the new variable.
isInArizona, we would create a comparison which finds each row where the value for
AZand sets the value of our new boolean variable to
Casemethod takes advantage of comparisons, which are used throughout Redivis transforms.
Cast, which allows you to convert variables of a given type to another type. This method is useful for creating variables of uniform type to work with in other methods, coercing numeric values from string typed variables, and many other applications.
average_reimbursementvariable by casting it to an integer.