UNPKG

@openfisca/france-json

Version:

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

244 lines (243 loc) 7.03 kB
{ "cerfa_field": { "0": "1AS", "1": "1BS", "2": "1CS", "3": "1DS", "4": "1ES" }, "default_value": 0, "definition_period": "month", "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": 55, "end_lineno": 2, "lineno": 2, "targets": [ { "ast_class": "Name", "col_offset": 4, "ctx": { "ast_class": "Store" }, "end_col_offset": 18, "end_lineno": 2, "id": "retraite_brute", "lineno": 2 } ], "value": { "args": [ { "ast_class": "Constant", "col_offset": 30, "end_col_offset": 46, "end_lineno": 2, "lineno": 2, "value": "retraite_brute" }, { "ast_class": "Name", "col_offset": 48, "ctx": { "ast_class": "Load" }, "end_col_offset": 54, "end_lineno": 2, "id": "period", "lineno": 2 } ], "ast_class": "Call", "col_offset": 21, "end_col_offset": 55, "end_lineno": 2, "func": { "ast_class": "Name", "col_offset": 21, "ctx": { "ast_class": "Load" }, "end_col_offset": 29, "end_lineno": 2, "id": "individu", "lineno": 2 }, "keywords": [], "lineno": 2 } }, { "ast_class": "Assign", "col_offset": 4, "end_col_offset": 73, "end_lineno": 3, "lineno": 3, "targets": [ { "ast_class": "Name", "col_offset": 4, "ctx": { "ast_class": "Store" }, "end_col_offset": 27, "end_lineno": 3, "id": "csg_deductible_retraite", "lineno": 3 } ], "value": { "args": [ { "ast_class": "Constant", "col_offset": 39, "end_col_offset": 64, "end_lineno": 3, "lineno": 3, "value": "csg_deductible_retraite" }, { "ast_class": "Name", "col_offset": 66, "ctx": { "ast_class": "Load" }, "end_col_offset": 72, "end_lineno": 3, "id": "period", "lineno": 3 } ], "ast_class": "Call", "col_offset": 30, "end_col_offset": 73, "end_lineno": 3, "func": { "ast_class": "Name", "col_offset": 30, "ctx": { "ast_class": "Load" }, "end_col_offset": 38, "end_lineno": 3, "id": "individu", "lineno": 3 }, "keywords": [], "lineno": 3 } }, { "ast_class": "Return", "col_offset": 4, "end_col_offset": 51, "end_lineno": 5, "lineno": 5, "value": { "ast_class": "BinOp", "col_offset": 11, "end_col_offset": 51, "end_lineno": 5, "left": { "ast_class": "Name", "col_offset": 11, "ctx": { "ast_class": "Load" }, "end_col_offset": 25, "end_lineno": 5, "id": "retraite_brute", "lineno": 5 }, "lineno": 5, "op": { "ast_class": "Add" }, "right": { "ast_class": "Name", "col_offset": 28, "ctx": { "ast_class": "Load" }, "end_col_offset": 51, "end_lineno": 5, "id": "csg_deductible_retraite", "lineno": 5 } } } ], "col_offset": 0, "decorator_list": [], "end_col_offset": 51, "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 retraite_brute = individu('retraite_brute', period)\n csg_deductible_retraite = individu('csg_deductible_retraite', period)\n\n return retraite_brute + csg_deductible_retraite\n", "start_line_number": 548, "stop_line_number": 553, "variables": [ "csg_deductible_retraite", "retraite_brute" ] } }, "json_type": "number", "label": "Montant des pensions de retraite soumis à l'impôt sur le revenu.", "name": "retraite_imposable", "reference": { "0001-01-01": [ { "href": "http://vosdroits.service-public.fr/particuliers/F415.xhtml" } ] }, "referring_variables": [ "aide_logement_base_ressources_individu", "cotsyn", "retraite_nette", "revenu_assimile_pension" ], "set_input": "set_input_divide_by_period", "start_line_number": 532, "stop_line_number": 553, "unit": "currency", "ux_name": "Montant imposable", "value_type": "float" }