duxbuse / ninthage-data-analytics

A better way for the project to ingest tournament results
GNU General Public License v3.0
1 stars 0 forks source link

Be able to view performance per magic path #181

Open duxbuse opened 1 year ago

duxbuse commented 1 year ago

Comparing BH list performance with druidism vs without?

So it would be nice to add a filter for external performance and internal performance to filter by magic path choice and probably whether it is master or adept.

SanderND commented 1 year ago

Interesting idea. Tinkering a bit how to do this. Let me share my thoughts:

The magic school is derived from the field unit upgrade. So each list most likely has a null value (for a unit without any upgrades) and one or multiple magic schools. I have logic in place to derive the magic school per unit. For this idea i need to derive the magic school for an armylist and use that field as a filter. But that field has multiple schools and a null value.

Alternatively i create a boolean. E.g. 'Has Alchemy y/n?' for each armylist. But then need a field for each magic school. Then I can create a parameter where the user select their magic school and it compares to the boolean of that school and if yes, the armylist is kept.

Implementing best be done on the backend, to avoid creating too many calculated fields on the front end.

@duxbuse: what would you say?