I wish to append a column to a table with an integer number, using something like an MSExcel formula. For example:
=IF(A1=A2,B1,B1+1)
=IF(A2=A3,B2,B2+1) etc
Would the Math Formula node be sufficient for this (and if it is, then how exactly do I go about that because I can't seem to get that to work), or should I instead look at a Python script?
The Math Formula won't work, because you are looking ahead and accessing the next row already. The Java Snippet works the same and only allows row-wise processing or using the Global Declaration to store intermediate results - so I guess if you sort the table reversly you can work with the Java Snippet. The Python or R nodes would be an option.
Oh, sorry, I missed the lookahead point. I remeber someone suggesting a lookahead/behind functionality for the Rule Engine. Let's see if this can be integrated somehow.