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 !
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.pytakes in an OpenFisca situation and customizes it thanks to a few helper methods.
clean_mes_aides_situation.pytakes in a Mes Aides situation and turns it into an OpenFisca-France situation.
situation_example package, along with the
situation_examplespackage 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
A wiki provides additional information to this
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.