From your data preview, decide what data steps are necessary to clean the data. For
more information, go to data prep
steps.
In this example, we collect data about insurance claims for car incidents. Because we
have similar data across many files, we want to save our data prep steps to apply to
new data sets. We created 8 data steps:
- Initial cleanup to trim whitespace and format dates appropriately.
- Remove invalid rows where the age of the driver is greater than 100 years
old.
- Change M to male.
- Change F to female.
- Change marital status from numeric to text data type.
- Change 0 to no.
- Change 1 to yes.
- Merge gender and marital status into a single column.
