Préparation des données pour LexImpact
Ce projet regroupe les scripts permettant de préparer les données des différents projets Leximpact.
Schéma complet de préparation et d’utilisation des données
Le pipeline prepare-data est donc le suivant :
Input: erfs_flat_2018.h5
01_db_reduce.ipynb
Objectif: Réduit le nombre de variables dans la base
Output: 01_erfs_reduced_2018.h5
02_db_enlarge.ipynb
Objectif: Ajoute des gens fictifs dans la base pour pouvoir calibrer
Output: 02_erfs_enlarged_2018.h5
03_db_add_rfr.ipynb
Input : CalibPote-2018-revkire.json
Objectifs: - Calculer le RFR dans OpenFisca - Calibrer le RFR ERFS_2018 sur POTE_2018
Output: 03_erfs_rfr_2018.h5
04_db_add_var
0403_db_add_var_copules.ipynb
0401_db_add_var_copules-algo_monte-carlo.ipynb
0402_db_add_var_copules-validate.ipynb
Input : ExportCopule-2018-variable.json
Objectif: Ajoute les variables issues de POTE 2018 dans la base ERFS 2018
Output: 04_erfs_var_copules_2018.h5
05_db_calib_var_copules.ipynb
Input : CalibPote-2019-variable.json
Objectifs: - Vieillit la base ERFS_2018 vers 2019 (nos données les plus récentes) : inflation économique et inflation des foyers - Calibre chacune des variables issues de POTE sur POTE 2019
Output: 05_erfs_calibrated_ff_2018_to_2019.h5
06_db_aging_final.ipynb
Objectifs:
- Vieillit la base ERFS_2019 vers 2021 (année voulue pour les calculs) : inflation économique et inflation des foyers
- Bruitage statistique de la base pour anonymisation
Output: 06_erfs_ff_2018_aged_2021.h5
How to contribute
Please see the contributing page.
Metadata
Release files for leximpact-prepare-data 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| leximpact_prepare_data-0.1.3.tar.gz | 48.2 kB | Without provenance | Details for leximpact_prepare_data-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| leximpact_prepare_data-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for leximpact_prepare_data-0.1.3-py3-none-any.whl |
Total release size: 100.6 kB
Release files / leximpact_prepare_data-0.1.3.tar.gz
| Download URL | leximpact_prepare_data-0.1.3.tar.gz |
|---|---|
| Size | 48.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41d8ccebc5db81acfccb8319f3279c44072030ce41fd02d7b1e2a09445a8bee5
|
|
BLAKE2b-256 checksum How to use checksums |
747f9551de6e852b913b21fd6b9fc567e56376f6fa57bffa3f754fe53330fdcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|
Release files / leximpact_prepare_data-0.1.3-py3-none-any.whl
| Download URL | leximpact_prepare_data-0.1.3-py3-none-any.whl |
|---|---|
| Size | 52.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
392606a0640ad39eac32e9cc1607715b54423b9622414d1958cb0ed7a5cede9e
|
|
BLAKE2b-256 checksum How to use checksums |
06f1bb6868109208d79df0165b624179dc3941a93a29835a825d9849f818d044
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|
Security for leximpact-prepare-data 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.