Skip to content

Commit b497665

Browse files
Add missing HBAI income variables (#1200)
1 parent ddea099 commit b497665

8 files changed

Lines changed: 36 additions & 0 deletions

File tree

changelog_entry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- bump: patch
2+
changes:
3+
added:
4+
- Missing HBAI variables.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from policyengine_uk.model_api import *
2+
3+
4+
class healthy_start_vouchers(Variable):
5+
label = "healthy start vouchers"
6+
entity = Person
7+
definition_period = YEAR
8+
value_type = float
9+
unit = GBP
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from policyengine_uk.model_api import *
2+
3+
4+
class external_child_payments(Variable):
5+
label = "external child payments"
6+
documentation = "Payments to children living away from home."
7+
entity = Household
8+
definition_period = YEAR
9+
value_type = float
10+
unit = GBP
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from policyengine_uk.model_api import *
2+
3+
4+
class structural_insurance_payments(Variable):
5+
label = "structural insurance payments"
6+
entity = Household
7+
definition_period = YEAR
8+
value_type = float
9+
unit = GBP

policyengine_uk/variables/household/income/hbai_benefits.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,5 @@ class hbai_benefits(Variable):
3636
"cost_of_living_support_payment",
3737
"winter_fuel_allowance",
3838
"tax_free_childcare",
39+
"healthy_start_vouchers",
3940
]

policyengine_uk/variables/household/income/hbai_household_net_income.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class hbai_household_net_income(Variable):
3737
"employee_pension_contributions",
3838
"personal_pension_contributions",
3939
"maintenance_expenses",
40+
"external_child_payments",
4041
]
4142

4243

policyengine_uk/variables/household/income/hbai_household_net_income_ahc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ class hbai_household_net_income_ahc(Variable):
1515
"rent",
1616
"water_and_sewerage_charges",
1717
"mortgage_interest_repayment",
18+
"structural_insurance_payments",
1819
]

policyengine_uk/variables/household/income/household_benefits.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class household_benefits(Variable):
4848
"nhs_spending",
4949
"dfe_education_spending",
5050
"dft_subsidy_spending",
51+
"healthy_start_vouchers",
5152
]
5253

5354
def formula(household, period, parameters):

0 commit comments

Comments
 (0)