Task
Energy class arrives with spaces and mixed case, such as a ++ or A +++. The feed needs a clean value.
Short answer
Create energy_efficiency_class from energy_raw and apply Trim spaces, Remove spaces, then Uppercase.
How to Do It in Eofferix
- Open the settings of the output
energy_efficiency_classcolumn.
The click is on the settings icon of the output energy_efficiency_classcolumn. - In
Transformations, add three cleanup rules: edges, all spaces, and uppercase.
The Transformationsblock shows the full rule chain for this case. - Save the column settings and go to the
Exportstep.
Before / After
Before
source data| id | title | energy_raw |
|---|---|---|
| GM-180 | Arctic fridge | a ++ |
| GM-181 | Wave washer | A +++ |
After
result| id | energy_efficiency_class |
|---|---|
| GM-180 | A++ |
| GM-181 | A+++ |