Time for action – refining the counting task by filtering even more
This is the second tutorial on filtering. As discussed in the previous tutorial, we have a plain file and want to know what kind of information is present in it. In the previous section, we listed and counted the words in the file. Now, we will apply some extra filters in order to refine our work.
- Open the transformation from the previous section.
- Add a Calculator step, link it to the last step, and calculate the new field
len_wordrepresenting the length of the words. To do this use the calculator function Return the length of a string A. As Field A type or select
word, and as Type select Integer.
- Expand the Flow category and drag another Filter rows step to the canvas.
- Link it to ...