The separate ones should be easier to grok the page source.
On the economic-events api, those are the events where is_contribution = true
You can distinguish work from other contributions by event_type.
All those charts show now is work (time contributions). Needless to say, people want financial contributions, too.
What I am thinking of is starting by giving you an api collection with only contributions,
with a set of query parameters for selecting subsets.
I would probably start with context_agent (e.g. project) and event_type.
Later date range and from_agent.
Then you can figure out what you can do with those.
I also will refactor the code for those separate charts so I can serve that json up from an API.
How does that look for starters?
Open to other suggestions.
contributions api with query parameters context and event-type pushed to valnet master.
You ladies and gentlemen are an a mission! Congratulations! I am impressed with the effort you dedicate to this project. I must admit, I will be a weekend warrior (and some evenings though I never know when I get home). With your energy you are really motivating me. @bhaugen You are right, I should have no problem grasping the NRP. I need to do some homework (study NRP tutorial) before I start commenting. Though, if there are known accounting problems or issues you can ask me, my experience may give you some idea. @fosterlynn I will attempt to install Ubuntu VM this weekend and then I will need some help to install your application. Then I can do testing, if you need, and maybe some backend database programming. I will let you know as I get more familiar with your work. In the mean time, if there is any unfilled need just let me know to see what I can do about it.
@Radu62s are you installing on Windows?
@Radu62s one thing you might want to study is the REA accounting model. It is different from the conventional debit-credit double-entry model.
@Radu62s don't worry, people can contribute what they can. Bob and I are lucky to be able to live on social security now, and we have lots of time. We both had day jobs most of our lives, and families, so we understand! So weekend warrior is great, really! Both Chris and Maria are very part time on this project actually, with jobs and other commitments in their lives. And Bob and I are in support roles, so we spend only the time needed to support others. So the UI/UX project is moving basically as fast as Maria and Chris set the pace. Which is working well. The original NRP (if you want to work on that) proceeds at a variable pace depending on priorities and time. Right now I'm focused on re-writing the Exchange portion of the NRP, and Bob is more focused on supporting the UI/UX project. And we do some support for the local herbal network that uses NRP and is active right now. Once you have done the homework you want to, we can figure it out together.
P.S. If you find that you would like a walkthrough of anything, I'd be happy to do that over a google hangout or jitsi.
you guys are awesome!
I have a stupid question: what is the relationship between a contribution and an exchange?
OK: contribution vs exchange. Hopefully this makes sense. So there are Exchanges and Processes. And there are Economic Events, some of which are part of an Exchange and some of which are part of a Process and some of which are stand along (no process and no exchange). Some Economic Events are contributions. To Sensorica being a contribution means that it is a candidate for distribution through a value equation.
So some Economic Events are contributions and some are not. Only some types of Economic Events even can be contributions: Work, Payments, Cash Contributions, Material Contributions, maybe others but I would have to think.
We keep a flag on Economic Event called is_contribution, and use it as a flag when we collect Economic Events to figure out Distributions. We used to assume all of the above types of Economic Events were contributions. But Fabio had a use case where some people had gotten grants and therefore were exempting themselves from distributions because they were already getting paid. So we exposed the flag on Work events so people could un-check it if this was their situation. In my current re-work of Exchanges, this will be configurable for all types of Economic Events that are part of Exchanges.