TaxAndBenefits: The Tax and Benefits Class

Description Usage Arguments Format Fields Examples

Description

This class describes the UK Tax and Benefits systeem Note this is a simplification of the actual UK tax system.

Usage

1

Arguments

earnedIncome

The initial earned income of the person.

unearnedIncome

The initial unearned income of the person. amount() The Data Frame method

This method returns a data frame with the following columns based upon the tax and benefit structures: 1) initialIncome 2) personalAllowance 3) incomeTax 4) employeesNationalInsurance 5) employersNationalInsurance 6) universalCreditEarned - assumes all income is earned 7) universalCreditUnearned - assumes all income is unearned 9) finalIncomeEarned - assumes all income is earned 10) finalIncomeUnearned - assumes all income is unearned

from

The first point of initialIncome.

to

The final point of the initial Income in the frame.

by

The incriments by which initial income is increased in the frame. dataFrame()

Format

An object of class R6ClassGenerator of length 24.

Fields

incomeTax

The UK income tax structure

nationalInsurance

The UK social security structure

universalCredit

The UK asocial benifit structure

Examples

1
2
3
4
5
Tax and Benefits
The amount method

This method determines the final amount a person will recieve after tax, national insurance
and universal credit.

ianksalter/uktax documentation built on March 19, 2020, 5:45 a.m.