UNPKG

@openfisca/france-json

Version:

JSON & YAML data extracted from OpenFisca-France source code (parameters, variables, etc)

253 lines (252 loc) 7.39 kB
{ "cerfa_field": { "0": "1AP", "1": "1BP", "2": "1CP", "3": "1DP", "4": "1EP" }, "default_value": 0, "definition_period": "month", "description": { "2021-07-27": [ { "href": "https://www.pole-emploi.fr/candidat/mes-droits-aux-aides-et-allocati/lessentiel-a-savoir-sur-lallocat/quelle-somme-vais-je-recevoir/quelles-retenues-sociales-sont-a.html", "note": "Montant des allocations chômage soumises à l'impôt sur le revenu.", "title": "Pôle-Emploi.fr" } ] }, "dtype": "float32", "entity": "individu", "file_path": "openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributions_sociales/remplacement.py", "formulas": { "0001-01-01": { "ast": { "args": { "args": [ { "arg": "individu", "ast_class": "arg", "col_offset": 12, "end_col_offset": 20, "end_lineno": 1, "lineno": 1 }, { "arg": "period", "ast_class": "arg", "col_offset": 22, "end_col_offset": 28, "end_lineno": 1, "lineno": 1 } ], "ast_class": "arguments", "defaults": [], "kw_defaults": [], "kwonlyargs": [], "posonlyargs": [] }, "ast_class": "FunctionDef", "body": [ { "ast_class": "Assign", "col_offset": 4, "end_col_offset": 51, "end_lineno": 2, "lineno": 2, "targets": [ { "ast_class": "Name", "col_offset": 4, "ctx": { "ast_class": "Store" }, "end_col_offset": 16, "end_lineno": 2, "id": "chomage_brut", "lineno": 2 } ], "value": { "args": [ { "ast_class": "Constant", "col_offset": 28, "end_col_offset": 42, "end_lineno": 2, "lineno": 2, "value": "chomage_brut" }, { "ast_class": "Name", "col_offset": 44, "ctx": { "ast_class": "Load" }, "end_col_offset": 50, "end_lineno": 2, "id": "period", "lineno": 2 } ], "ast_class": "Call", "col_offset": 19, "end_col_offset": 51, "end_lineno": 2, "func": { "ast_class": "Name", "col_offset": 19, "ctx": { "ast_class": "Load" }, "end_col_offset": 27, "end_lineno": 2, "id": "individu", "lineno": 2 }, "keywords": [], "lineno": 2 } }, { "ast_class": "Assign", "col_offset": 4, "end_col_offset": 71, "end_lineno": 3, "lineno": 3, "targets": [ { "ast_class": "Name", "col_offset": 4, "ctx": { "ast_class": "Store" }, "end_col_offset": 26, "end_lineno": 3, "id": "csg_deductible_chomage", "lineno": 3 } ], "value": { "args": [ { "ast_class": "Constant", "col_offset": 38, "end_col_offset": 62, "end_lineno": 3, "lineno": 3, "value": "csg_deductible_chomage" }, { "ast_class": "Name", "col_offset": 64, "ctx": { "ast_class": "Load" }, "end_col_offset": 70, "end_lineno": 3, "id": "period", "lineno": 3 } ], "ast_class": "Call", "col_offset": 29, "end_col_offset": 71, "end_lineno": 3, "func": { "ast_class": "Name", "col_offset": 29, "ctx": { "ast_class": "Load" }, "end_col_offset": 37, "end_lineno": 3, "id": "individu", "lineno": 3 }, "keywords": [], "lineno": 3 } }, { "ast_class": "Return", "col_offset": 4, "end_col_offset": 48, "end_lineno": 5, "lineno": 5, "value": { "ast_class": "BinOp", "col_offset": 11, "end_col_offset": 48, "end_lineno": 5, "left": { "ast_class": "Name", "col_offset": 11, "ctx": { "ast_class": "Load" }, "end_col_offset": 23, "end_lineno": 5, "id": "chomage_brut", "lineno": 5 }, "lineno": 5, "op": { "ast_class": "Add" }, "right": { "ast_class": "Name", "col_offset": 26, "ctx": { "ast_class": "Load" }, "end_col_offset": 48, "end_lineno": 5, "id": "csg_deductible_chomage", "lineno": 5 } } } ], "col_offset": 0, "decorator_list": [], "end_col_offset": 48, "end_lineno": 5, "lineno": 1, "name": "formula" }, "file_path": "openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributions_sociales/remplacement.py", "source_code": "def formula(individu, period):\n chomage_brut = individu('chomage_brut', period)\n csg_deductible_chomage = individu('csg_deductible_chomage', period)\n\n return chomage_brut + csg_deductible_chomage\n", "start_line_number": 250, "stop_line_number": 255, "variables": [ "chomage_brut", "csg_deductible_chomage" ] } }, "json_type": "number", "label": "Montant de l'allocation chômage soumis à l'impôt sur le revenu.", "name": "chomage_imposable", "reference": { "0001-01-01": [ { "href": "http://www.insee.fr/fr/methodes/default.asp?page=definitions/chomage.htm" } ] }, "referring_variables": [ "aide_logement_base_ressources_individu", "chomage_net", "cotsyn", "revenu_assimile_salaire" ], "set_input": "set_input_divide_by_period", "start_line_number": 234, "stop_line_number": 255, "unit": "currency", "ux_name": "Montant imposable", "value_type": "float" }