6 Data Transformations
Now that you know what your data looks like, you are ready to make changes to your data based on your business needs. Data transformations can include operations like rounding values, creating or calculating new variables, concatenating (combining) two variables into a single new variable, or transforming numeric values into character values.
It is good practice not to overwrite your original variables with the data transformations that you perform. Instead, create a new variable that you can compare against the original variable. This enables you to make sure the transformation worked the way you intended and to make different transformations later using the original variable if someone asks for a change or an additional ...
Get The Simple Guide to SAS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.