vipulnaik / donations

Donations list website (DLW): a repository for keeping track of public donations by some people I (arbitrarily) decide to track
https://donations.vipulnaik.com
Creative Commons Zero v1.0 Universal
20 stars 2 forks source link

Split earmarks and influencers by `|`; Figure out a good way to combine (donee and earmark) and (donor and influencer) views #145

Open vipulnaik opened 11 months ago

vipulnaik commented 11 months ago

There are many cases of multiple influencers and multiple donation earmarks for a donation. We should semantically understand and split them by | for better understanding and use.

In many cases, we want to see together the donations with donee X and with earmark X. That's because the recipient and earmark of a donation often have interchangeable functions. For instance, a donation to a mentor to support a student would have donee = mentor, donation_earmark = student, whereas a donation to a student to study under a mentor would have donee = student, donation_earmark = mentor. But when looking at all donations toward the mentor, we would like to see both the donations directly to the mentor and the donations with the mentor as an earmark (note that due to the possibility of multiple earmarks, we should match when the mentor is one of the earmarks after |-separation).

Similarly, donors and influencers play interchangeable roles to some extent. For instance, grants influenced by the Survival and Flourishing Fund and worth looking at along with grants made by Survival and Flourishing Fund.