Skip to main content

Poverty and Inequality Analysis in Python

Project description

Apode

logo

Build Status Documentation Status Coverage Status License: MIT Python 3.8+ https://github.com/leliel12/diseno_sci_sfw

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:

Support

If you want to contact me you can reach me at ngrion@gmail.com. If you have issues please report them as a issue here.

License

Distributed under the MIT License. See LICENSE for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apode-0.1.0.tar.gz (121.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page