Table of contents

Use case

Mapping data often requires casting data types into Boolean. Often, a system provides binary signals as 0s and 1s. However, a different application might require the same data in Boolean (true/false). In these cases, the Cast: Boolean mapper is utilized. 


Guide

Here’s how you can do it!


Step 1: Click on Add Data Transformer.

Step 2: Select Value Mapper.

Step 3: Select Key Accessor from the Accessor drop-down menu.

Step 4: Click on Add Keys and specify the key (or keys) that you want to map.

Step 5: Click on Add Mappers and select Cast: Boolean

Step 6: On clicking the Run Test button, you will see that the Cast: Boolean mapper has mapped the specified key (must be in 0s and 1s) to true/false accordingly.


Video guide