distributeaid / toolbox

DistributeAid Toolbox
http://distributeaid.org
GNU Affero General Public License v3.0
3 stars 1 forks source link

Aggregated Needs by Addresses #75

Closed pedro-gutierrez closed 3 years ago

pedro-gutierrez commented 3 years ago

This PR implements needs aggregation for a set of addresses. This will be the building block for more complex aggregations.

Fixes: https://github.com/distributeaid/toolbox/issues/68

Implementation details:

This is a naive implementation, but simple enough and relies on existing apis. If it turns out to be insufficient in terms of performance, then we can try to find a better implementation.

Also this approach will be the foundation for other aggregations (see #69 , #70 , #71 , #72 )