Initial commit
This commit is contained in:
29
skills/policyengine-uk-skill/examples/couple.yaml
Normal file
29
skills/policyengine-uk-skill/examples/couple.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
# Example: Couple without children in Scotland
|
||||
# Person 1: £35,000, Age: 35
|
||||
# Person 2: £25,000, Age: 33
|
||||
|
||||
people:
|
||||
person_1:
|
||||
age:
|
||||
2025: 35
|
||||
employment_income:
|
||||
2025: 35000
|
||||
person_2:
|
||||
age:
|
||||
2025: 33
|
||||
employment_income:
|
||||
2025: 25000
|
||||
|
||||
benunits:
|
||||
benunit:
|
||||
members:
|
||||
- person_1
|
||||
- person_2
|
||||
|
||||
households:
|
||||
household:
|
||||
members:
|
||||
- person_1
|
||||
- person_2
|
||||
region:
|
||||
2025: SCOTLAND
|
||||
@@ -0,0 +1,41 @@
|
||||
# Example: Family with children in Wales
|
||||
# Parent 1: £35,000, Age: 35
|
||||
# Parent 2: £25,000, Age: 33
|
||||
# Child 1: Age 8
|
||||
# Child 2: Age 5
|
||||
|
||||
people:
|
||||
parent_1:
|
||||
age:
|
||||
2025: 35
|
||||
employment_income:
|
||||
2025: 35000
|
||||
parent_2:
|
||||
age:
|
||||
2025: 33
|
||||
employment_income:
|
||||
2025: 25000
|
||||
child_1:
|
||||
age:
|
||||
2025: 8
|
||||
child_2:
|
||||
age:
|
||||
2025: 5
|
||||
|
||||
benunits:
|
||||
benunit:
|
||||
members:
|
||||
- parent_1
|
||||
- parent_2
|
||||
- child_1
|
||||
- child_2
|
||||
|
||||
households:
|
||||
household:
|
||||
members:
|
||||
- parent_1
|
||||
- parent_2
|
||||
- child_1
|
||||
- child_2
|
||||
region:
|
||||
2025: WALES
|
||||
21
skills/policyengine-uk-skill/examples/single_person.yaml
Normal file
21
skills/policyengine-uk-skill/examples/single_person.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
# Example: Single person household in London
|
||||
# Income: £30,000, Age: 30
|
||||
|
||||
people:
|
||||
person:
|
||||
age:
|
||||
2025: 30
|
||||
employment_income:
|
||||
2025: 30000
|
||||
|
||||
benunits:
|
||||
benunit:
|
||||
members:
|
||||
- person
|
||||
|
||||
households:
|
||||
household:
|
||||
members:
|
||||
- person
|
||||
region:
|
||||
2025: LONDON
|
||||
@@ -0,0 +1,38 @@
|
||||
# Example: Analyzing Universal Credit with income variation
|
||||
# Single parent with 2 children in North West
|
||||
# Sweeps employment income from £0 to £50,000
|
||||
|
||||
people:
|
||||
parent:
|
||||
age:
|
||||
2025: 30
|
||||
child_1:
|
||||
age:
|
||||
2025: 8
|
||||
child_2:
|
||||
age:
|
||||
2025: 5
|
||||
|
||||
benunits:
|
||||
benunit:
|
||||
members:
|
||||
- parent
|
||||
- child_1
|
||||
- child_2
|
||||
|
||||
households:
|
||||
household:
|
||||
members:
|
||||
- parent
|
||||
- child_1
|
||||
- child_2
|
||||
region:
|
||||
2025: NORTH_WEST
|
||||
|
||||
# Axes: Vary employment income from £0 to £50,000
|
||||
axes:
|
||||
- - name: employment_income
|
||||
count: 1001
|
||||
min: 0
|
||||
max: 50000
|
||||
period: 2025
|
||||
Reference in New Issue
Block a user