/clean_enoa

GNU Affero General Public License v3.0AGPL-3.0

Clean ENOA

This package makes requests to INEGI about unemployment in Mexico

codecov example branch parameter GPLv3 License

Environment Variables

To run this project, you will need to add the following environment variables to your ~/.profile file

INEGI_TOKEN

Get a token here.

Installation

Install Clean ENOA with pip

  pip install clean_enoa

Usage/Examples

To get the employed men of the last trimester

import clean_enoa as ce

last_trimester_employed_population = ce.get_trimester_employed_men(0)

To calculate the unemployed population, we also need the economically active population and the employed women:

last_trimester_unemployed_population = ce.get_quarterly_economically_active_population(0) - ce.get_trimester_employed_men(0) - ce.get_trimester_employed_women(0)

Used By

This project is used by the following repository:

Feedback

If you have any feedback, please reach out to us at nepo.rojas@islas.org.mx