Allow custom sources outside data processor
we have set up a tiny survey with a bunch of custom fields with data type int and a radio controlled option set
Value | Label
-------------
-1 | No
0 | Unknown
1 | Yes
attached to activities of a specific type.
We're looking for a way to create a statistical evaluation called frequency distributions. The result would sum up the occurences of every option value for a set of fields and display it by label - see Frequency distribution on wikipedia
I thought about a custom group source which serves the data and a new aggregation type. But dataprocessor seems not to allow injecting new source classes from outside it's very own Factory class. And a customized fork maintained by me is'nt what want.
How would you implement it? Any help would be appreciated.