build_data_evol_emploi
build_data_evol_emploi(data_source: DataFrame, col_new_ct: str, col_evol: str, y0_elasticite: float, seuil_pallier_elasticite_smic: float, pallier_elasticite: float, name_elasticite: str, keep_elast: bool, to_concat: bool, col_ct='salaire_super_brut')
Creates variables of interest concerning the employment effects of reforms.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data_source |
DataFrame
|
The source data. |
required |
col_new_ct |
str
|
The column of the new cost of labor. |
required |
col_evol |
str
|
The column of the evolution. |
required |
y0_elasticite |
float
|
The initial value of the elasticity. |
required |
seuil_pallier_elasticite_smic |
float
|
The threshold of the elasticity in SMIC. |
required |
pallier_elasticite |
float
|
The step of the elasticity. |
required |
name_elasticite |
str
|
The name of the elasticity. |
required |
keep_elast |
bool
|
Whether to keep the elasticity. |
required |
to_concat |
bool
|
Whether to concatenate the result to the source data. |
required |
col_ct |
str
|
The column of the cost of labor. Defaults to 'salaire_super_brut'. |
'salaire_super_brut'
|
Returns:
Type | Description |
---|---|
DataFrame
|
The data with the employment effects variables. |
Source code in bozio_wasmer_simulations/description/datasets.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
|