Legislation parameters from IPP
This section is specific to OpenFisca-France.
Each year IPP produces high quality rates and scales.
The aim of the OpenFisca project is to merge its XML parameters file with those of IPP.
IPP files are Excel (XLS) files, so there is a need to convert them first in a script-friendly format (which is YAML), then merge them with OpenFisca XLS file.
First XLS files are transformed into raw YAML files then into clean YAML files using these scripts.
Then these clean YAML files are merged with the existing param.xml
by this script which produces a new XML legislation file for OpenFisca.
Also these clean YAML files are transformed into CSV files to be reused at the IPP by TAXIPP by this script.
This issue tracks the work.
For now the source of truth for IPP parameters are the XLS files and for OpenFisca param.xml
.
One day the source of truth will certainly be the YAML files, and their edition will probably be eased by a web tool like a modified version of the Legislation Explorer.