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
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.
mm/dd/yyformat (common in the U.S.; e.g.
03/22/89), we would specify the format string
%m/%d/%y. For a DateTime displayed as
Mon Oct 17 2016 17:32:56, we would specify
%a %b %d %Y %H:%M:%S