binary sequence occurrence

Hello, 

I am a new Knime user, can you help me with this matter?

I have a StringCell with input like: "Pippo, Pluto, Pippo, Pluto, Paperino, Pluto......".

How can I calculate the occurrence of the ordinated pair "Pippo->Pluto" in my dataset?

Is there a node I can use?

Thank you very much for your time and attention,

 

Silvia

 

Hello Silvia,

I am not aware of a node that does this, but I have created a small workflow that does it.

You find it attached.

Best,
Ferry

Hi Ferry, 

thank you very much!

Best, 

Silvia