refactor: shared functions module
fixed imports
some inequality charts
finalising stats for RQ1
more exploration: complementary inequality measures
migrations