Last updated:
0 purchases
apode 0.1.0
Apode
Apode is a package that contains a set of indicators that are applied in economic analysis. It contains measures of poverty, inequality, polarization, welfare and concentration.
Requirements
You need Python 3.8 to run Apode.
Code Repository & Issues
https://github.com/ngrion/apode
Basic Install
Execute
$ pip install apode
Development Install
Clone this repo and install with pip
$ git clone https://github.com/ngrion/apode.git
$ cd pycf3
$ pip install -e .
Features
Objects are created using:
>>> ad = ApodeData(DataFrame, income_column)
Where income_column is the name of the desired analysis column in the dataframe.
Methods that calculate indicators:
>>> ad.poverty(method,*args)
>>> ad.ineq(method,*args)
>>> ad.welfare(method,*args)
>>> ad.polarization(method,*args)
>>> ad.concentration(method,*args)
Graphical representations:
>>> ad.plot.hist()
>>> ad.plot.tip(**kwargs)
>>> ad.plot.lorenz(**kwargs)
>>> ad.plot.pen(**kwargs)
For examples on how to use apode, please refer to the Tutorial.
Contributors
Thanks to the following people who have contributed to this project:
@ngrion
@sofisappia
Support
If you want to contact me you can reach me at [email protected].
If you have issues please report them as a issue here.
License
Distributed under the MIT License. See LICENSE for more information.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.