Please be aware of the Forum Rules of Conduct.
Would it be thinkable to code the Gini coefficient of a realm?