-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.R
132 lines (100 loc) · 3.33 KB
/
variables.R
1
2
3
4
5
6
7
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
### FLOW:
### Run on all (taxable_income, hecs.mls_income)
# LITO
# LMTO
# medicare_levy
# medicare_levy_surcharge
## HECS debt
# hecs_repayment <- function(hecs.mls_income)
## FT Study?
# youth_allowance <- function(age,
# scholarship,
# assessable_income,
# apprenticeship,
# ft_study,
# independent,
# completed_y12,
# away_from_home,
# single,
# children,
# long_term_recipient,
# principal_carer_exempt,
# jobseeker)
#
# austudy <- function(single,
# age,
# children,
# long_term_recipient,
# scholarship,
# assessable_income)
#
# job_seeker <- function(age,
# single,
# children,
# nine_months,
# principal_carer,
# mutual_obligation,
# partner_income,
# partner_on_pension)
# Rent assist if youth_allowance, austudy, FTBA (more than base), Parenting payment, Jobssker
## ALSO for Age pension and Carers payment
# rent_assistance <- function(rent,
# shared_accom,
# single,
# separated_temp,
# separated_illness,
# children,
# children_no)
#
# adjusted_taxable_income <- taxable_income + investment_losses + reportable_fringe_benefits + reportable_super - deductions
#
## Single/Relationship status)
# family_tax_benefit_A <- function(adjusted_taxable_income,
# single,
# children_ages)
#
# family_tax_benefit_B <- function(children_ages,
# single,
# primary_earner_income,
# secondary_earner_income,
# adjusted_taxable_income)
#
# parenting_payment
## RELATIONSHIP
single
separated_temp
separated_illness
## INCOME
taxable_income
hecs.mls_income
assessable_income
# adjusted_taxable_income <- taxable_income + investment_losses + reportable_fringe_benefits + reportable_super - deductions
adjusted_taxable_income
primary_earner_income
secondary_earner_income
adjusted_taxable_income
gross_income
scholarship
## FAMILY
age
children
children_no
children_ages
## RESIDENCE
away_from_home
###STUDY/WORK
apprenticeship
ft_study
independent
completed_y12
long_term_recipient
nine_months
jobseeker
principal_carer_exempt
principal_carer
mutual_obligation
partner_income
partner_on_pension
rent
shared_accom
partner_centrelink_pension