OpenFisca is a versatile microsimulation free software.
Check the online documentation for more details.
This package contains tutorials to test and explore OpenFisca.
The tutorial notebooks of OpenFisca offer you an overview of how to compute with this microsimulation software. Use them to explore how it works !
This repository entails also the configuration files for the Binder which deploys a computational environment with the technology of Jupyter Notebooks.
With the Python tutorials (in French), you will learn how to:
- use the python API to run calculations
- get results on the current legislation as well as on reforms
- export results to .csv files
For more information, see this README (in French).
This directory contains pre-filled input data, called situations, extracted from the French "Livret du pouvoir d'achat".
You can use them 'as is' in the web API or import them in the python API as shown in the python tutorials.
openfisca_json_customizer.py
takes in an OpenFisca situation and customizes it thanks to a few helper methods.clean_mes_aides_situation.py
takes in a Mes Aides situation and turns it into an OpenFisca-France situation.generate_situation_example
contains thesituation_example package
, along with thetry_situation_examples.py
script. Thesituation_examples
package contains complete cookie cutter situations (single, couple, roommates) that are ready to use in the python API, and the web API (in their json form)
To run one of the following scripts, go to its directory an call it with the python
command.
A wiki provides additional information to this tutorial
repository.
For technical tips on Python environment, see its FAQ (in French).
OpenFisca use cases:
- [French] Working group on rights and services access, fighting against non-uptake of social assistance in ./exemples/gt_non_recours.