My data has a 'label' attribute, example - TCY/D/N3000000. I split this to just get the 'TCY' and created a list, then an attribute (DA_abrv) based on that list value. Now I need to count how many features are within my dataset containing 'TCY' in the label and another attribute value, example: (status = 6 and DA_abrv = 'TCY'). Consented is 'status = 6', Engaged is 'status = 2'
My output needs to look like this:
DA Consented Engaged
TCY 5 1
BGS 10 12
LAY 30 8
I have tried setting a conditional value in the writer to return this but it's not working. Any help would be greatly appreciated.