zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #02295
[Bug 670358] Re: Add new aggregate API
OK I gave it more thought and I think Markus's idea makes a lot of sense.
This will allow us to even later work with more "data_types", so if for example geo-location extension becomes officially supported we can shoot out the locations as a results. having a an array of dicts in data will allow us to expand and experiment more with the fields.
Another example would be that data would look like
data = [
data_1 = {
"relative_count" : "0.6",
"absolute count" : "1234",
"owner" : "seif",
}
]
I am giving +1 for Markus's idea
--
Add new aggregate API
https://bugs.launchpad.net/bugs/670358
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
Status in Zeitgeist Framework: Confirmed
Bug description:
Zeitgeist API can give us vague information but not statistics over the API
Use case:
- Give me counts of every subject_text from actor = Unity
Currently to do that one will need to either:
Request all events with Unity as an Actor and count the subject_text
This can be done much better IMHO
I am thinking of an Aggregation Extension.
But before we hack on that we need to agree if its necessary and how the API will look like.
References