@openfisca/france-json
Version:
JSON & YAML data extracted from OpenFisca-France source code (parameters, variables, etc)
243 lines (242 loc) • 7.15 kB
JSON
{
"default_value": 0,
"definition_period": "month",
"dtype": "float32",
"entity": "individu",
"file_path": "openfisca_france/model/prestations/agepi.py",
"formulas": {
"2014-01-20": {
"ast": {
"args": {
"args": [
{
"arg": "individu",
"ast_class": "arg",
"col_offset": 23,
"end_col_offset": 31,
"end_lineno": 1,
"lineno": 1
},
{
"arg": "period",
"ast_class": "arg",
"col_offset": 33,
"end_col_offset": 39,
"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": 53,
"end_lineno": 3,
"lineno": 3,
"targets": [
{
"ast_class": "Name",
"col_offset": 4,
"ctx": {
"ast_class": "Store"
},
"end_col_offset": 17,
"end_lineno": 3,
"id": "agepi_mayotte",
"lineno": 3
}
],
"value": {
"args": [
{
"ast_class": "Constant",
"col_offset": 29,
"end_col_offset": 44,
"end_lineno": 3,
"lineno": 3,
"value": "agepi_mayotte"
},
{
"ast_class": "Name",
"col_offset": 46,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 52,
"end_lineno": 3,
"id": "period",
"lineno": 3
}
],
"ast_class": "Call",
"col_offset": 20,
"end_col_offset": 53,
"end_lineno": 3,
"func": {
"ast_class": "Name",
"col_offset": 20,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 28,
"end_lineno": 3,
"id": "individu",
"lineno": 3
},
"keywords": [],
"lineno": 3
}
},
{
"ast_class": "Assign",
"col_offset": 4,
"end_col_offset": 63,
"end_lineno": 4,
"lineno": 4,
"targets": [
{
"ast_class": "Name",
"col_offset": 4,
"ctx": {
"ast_class": "Store"
},
"end_col_offset": 22,
"end_lineno": 4,
"id": "agepi_hors_mayotte",
"lineno": 4
}
],
"value": {
"args": [
{
"ast_class": "Constant",
"col_offset": 34,
"end_col_offset": 54,
"end_lineno": 4,
"lineno": 4,
"value": "agepi_hors_mayotte"
},
{
"ast_class": "Name",
"col_offset": 56,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 62,
"end_lineno": 4,
"id": "period",
"lineno": 4
}
],
"ast_class": "Call",
"col_offset": 25,
"end_col_offset": 63,
"end_lineno": 4,
"func": {
"ast_class": "Name",
"col_offset": 25,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 33,
"end_lineno": 4,
"id": "individu",
"lineno": 4
},
"keywords": [],
"lineno": 4
}
},
{
"ast_class": "Return",
"col_offset": 4,
"end_col_offset": 45,
"end_lineno": 6,
"lineno": 6,
"value": {
"ast_class": "BinOp",
"col_offset": 11,
"end_col_offset": 45,
"end_lineno": 6,
"left": {
"ast_class": "Name",
"col_offset": 11,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 29,
"end_lineno": 6,
"id": "agepi_hors_mayotte",
"lineno": 6
},
"lineno": 6,
"op": {
"ast_class": "Add"
},
"right": {
"ast_class": "Name",
"col_offset": 32,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 45,
"end_lineno": 6,
"id": "agepi_mayotte",
"lineno": 6
}
}
}
],
"col_offset": 0,
"decorator_list": [],
"end_col_offset": 45,
"end_lineno": 6,
"lineno": 1,
"name": "formula_2014_01_20"
},
"file_path": "openfisca_france/model/prestations/agepi.py",
"source_code": "def formula_2014_01_20(individu, period):\n\n agepi_mayotte = individu('agepi_mayotte', period)\n agepi_hors_mayotte = individu('agepi_hors_mayotte', period)\n\n return agepi_hors_mayotte + agepi_mayotte\n",
"start_line_number": 280,
"stop_line_number": 286,
"variables": [
"agepi_hors_mayotte",
"agepi_mayotte"
]
}
},
"json_type": "number",
"label": "Montant de l'aide à la garde des enfants de parents isolés de Pôle Emploi - AGEPI",
"last_review": "2014-01-20",
"name": "agepi",
"reference": {
"0001-01-01": [
{
"title": "Article 4 de la délibération n°2013-46 du 18 décembre 2013 du Pôle Emploi"
},
{
"href": "http://www.bo-pole-emploi.org/bulletinsofficiels/deliberation-n2013-46-du-18-dece.html?type=dossiers/2013/bope-n2013-128-du-24-decembre-20"
},
{
"title": "2. Aide à la garde d’enfants pour les parents isolés (AGEPI)"
},
{
"href": "http://www.bo-pole-emploi.org/bulletinsofficiels/instruction-dg-n2014-48-du-6-jui.html?type=dossiers/2014/bope-n2014-62-du-18-juin-2014"
}
]
},
"referring_variables": [
"agepi_eligible"
],
"set_input": "set_input_divide_by_period",
"start_line_number": 267,
"stop_line_number": 286,
"unit": "currency",
"value_type": "float"
}