UNPKG

@leximpact/socio-fiscal-openfisca-json

Version:

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

169 lines (168 loc) • 5.02 kB
{ "default_value": false, "definition_period": "month", "dtype": "bool_", "entity": "menage", "file_path": "openfisca_france/model/prestations/aides_logement.py", "formulas": { "0001-01-01": { "ast": { "args": { "args": [ { "arg": "menage", "ast_class": "arg", "col_offset": 12, "end_col_offset": 18, "end_lineno": 1, "lineno": 1 }, { "arg": "period", "ast_class": "arg", "col_offset": 20, "end_col_offset": 26, "end_lineno": 1, "lineno": 1 }, { "arg": "parameters", "ast_class": "arg", "col_offset": 28, "end_col_offset": 38, "end_lineno": 1, "lineno": 1 } ], "ast_class": "arguments", "defaults": [], "kw_defaults": [], "kwonlyargs": [], "posonlyargs": [] }, "ast_class": "FunctionDef", "body": [ { "ast_class": "Return", "col_offset": 4, "end_col_offset": 102, "end_lineno": 2, "lineno": 2, "value": { "ast_class": "Compare", "col_offset": 11, "comparators": [ { "ast_class": "Attribute", "attr": "locataire_hlm", "col_offset": 59, "ctx": { "ast_class": "Load" }, "end_col_offset": 102, "end_lineno": 2, "lineno": 2, "value": { "ast_class": "Name", "col_offset": 59, "ctx": { "ast_class": "Load" }, "end_col_offset": 88, "end_lineno": 2, "id": "TypesStatutOccupationLogement", "lineno": 2 } } ], "end_col_offset": 102, "end_lineno": 2, "left": { "args": [ { "ast_class": "Constant", "col_offset": 18, "end_col_offset": 46, "end_lineno": 2, "lineno": 2, "value": "statut_occupation_logement" }, { "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": 11, "end_col_offset": 55, "end_lineno": 2, "func": { "ast_class": "Name", "col_offset": 11, "ctx": { "ast_class": "Load" }, "end_col_offset": 17, "end_lineno": 2, "id": "menage", "lineno": 2 }, "keywords": [], "lineno": 2 }, "lineno": 2, "ops": [ { "ast_class": "Eq" } ] } } ], "col_offset": 0, "decorator_list": [], "end_col_offset": 102, "end_lineno": 2, "lineno": 1, "name": "formula" }, "file_path": "openfisca_france/model/prestations/aides_logement.py", "source_code": "def formula(menage, period, parameters):\n return menage('statut_occupation_logement', period) == TypesStatutOccupationLogement.locataire_hlm\n", "start_line_number": 232, "stop_line_number": 234, "variables": [ "statut_occupation_logement" ] } }, "is_period_size_independent": true, "json_type": "boolean", "label": "Logement conventionné", "name": "logement_conventionne", "referring_variables": [ "aide_logement_loyer_reel", "aide_logement_montant_brut_avant_degressivite", "aides_logement_accedant_et_foyer", "aides_logement_foyer_chambre_non_rehabilite_eligibilite", "aides_logement_foyer_personne_agee_eligibilite", "aides_logement_foyer_plafond_mensualite", "aides_logement_k", "aides_logement_loyer_minimal", "aides_logement_nb_part", "alf", "als", "apl", "reduction_loyer_solidarite" ], "set_input": "set_input_dispatch_by_period", "start_line_number": 225, "stop_line_number": 234, "value_type": "bool" }