Family has a child
Social Security Boolean MONTH Family Formula Included used 0 timesValue type Boolean . Default value false Entity family
How is this calculated?
To calculate this variable, the following input is used
- Boolean social_security__is_a_child child means a single person under the age of 18 years, other than a person who is— (a) aged 16 years or 17 years; and (b) financially independent
- Int age The age of a Person (in years)
- Date date_of_birth Birth date
- Boolean social_security__is_financially_independent financially independent, in relation to a person, means— (a) in full employment; or (b) in receipt of a basic grant or an independent circumstances grant under the Student Allowances Regulations 1998 (SR 1998/277); or (c) in receipt of payments under a Government-assisted scheme which the chief executive considers analogous to a main benefit under this Act; or (d) in receipt of a main benefit under this Act
- Boolean social_security__in_receipt_of_basic_grant in receipt of a basic grant or an independent circumstances grant under the Student Allowances Regulations 1998 (SR 1998/277)
- Boolean social_security__is_in_full_employment Is in full employment or full-time employment
- Boolean social_security__recieves_goverment_assisted_scheme_payments In receipt of payments under a Government-assisted scheme which the chief executive considers analogous to a main benefit under Socal Security Act
- Boolean social_security__recieves_main_benefit in receipt of a main benefit under Social Security Act
Formulas
This is the formula used to calculate the value of social_security__has_child_in_family
0001-01-01
This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas
def formula(families, period, parameters):
children = families.members('social_security__is_a_child', period)
return families.any(children, role=Family.CHILD)