openfisca / openfisca-france-indirect-taxation

French indirect taxation module for OpenFisca
http://www.openfisca.fr/
GNU Affero General Public License v3.0
5 stars 13 forks source link

Cannot find electricity consumption #154

Closed thomasdouenne closed 7 years ago

thomasdouenne commented 7 years ago

Officially the code is 04.5.1, I tried many possible combinaitions but keep having key errors. For other energies (gas, solid fioul, etc.) I have no problem with the standard syntax (ex : 04_5_2_1_1 for gas).

Is there a way to display all the poste recognized by the model ?

benjello commented 7 years ago

Try something looking at the keys of the following dictionary (or similar) survey_scenario.tax_benefit_system.columns_by_name

thomasdouenne commented 7 years ago

Electricity corresponds to two variables :

thomasdouenne commented 7 years ago

poste_04_5_1_1_1_a : expenditures in gas or electricity (not differentiated on the bill) poste_04_5_1_1_1_b : expenditures in electricity (when differentiated on the bill)